org.iges.anagram.service
Class InfoService
java.lang.Object
|
+--org.iges.anagram.AbstractModule
|
+--org.iges.anagram.service.Service
|
+--org.iges.anagram.service.InfoService
- All Implemented Interfaces:
- Module
- public class InfoService
- extends Service
Provides an HTML summary of a data object
| Methods inherited from class org.iges.anagram.AbstractModule |
configModule, debug, debug, error, fail, fail, fail, getModuleName, info, init, toString, verbose, verbose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InfoService
public InfoService()
getServiceName
public java.lang.String getServiceName()
- Description copied from class:
Service
- Returns the name of this service. Used to build the module ID,
and to map URLs to services.
- Specified by:
getServiceName in class Service
configure
public void configure(Setting setting)
- Description copied from class:
AbstractModule
- Configures the module according to the settings provided. The
server supports dynamic reconfiguration. Thus this method may be
called at any time in the life of the module. If the module
cannot be reconfigured, it should throw an exception.
- Specified by:
configure in interface Module- Specified by:
configure in class AbstractModule
handle
public void handle(ClientRequest clientRequest)
throws ModuleException
- Description copied from class:
Service
- Performs the service provided by this module.
- Specified by:
handle in class Service
- Parameters:
clientRequest - The request to be handled
- Throws:
ModuleException - if the service fails for any reason
writeToCache
protected void writeToCache(ClientRequest clientRequest,
DataHandle data,
java.io.File cacheFile)
throws ModuleException
ModuleException
nameInDDS
public static boolean nameInDDS(java.lang.String name,
DDS dds)
nameIsGlobal
public static boolean nameIsGlobal(java.lang.String name)
fancyTypeName
public static java.lang.String fancyTypeName(BaseType bt)