cebit.server.idm
Class IDMd

java.lang.Object
  |
  +--org.w3c.jigsaw.http.httpd
        |
        +--cebit.server.idm.IDMd
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.util.PropertyMonitoring, java.lang.Runnable, org.w3c.jigsaw.daemon.ServerHandler, org.w3c.tools.resources.ServerInterface, org.w3c.util.Status

public class IDMd
extends org.w3c.jigsaw.http.httpd

This class is the daemon for handling and serving IDM connections. This daemon also initializes the IDM engine.


Field Summary
static boolean debug
           
 
Fields inherited from class org.w3c.jigsaw.http.httpd
CHECKURL_P, CLIENT_BUFSIZE_P, CLIENT_DEBUG_P, CLIENT_FACTORY_P, CLIENT_PRIORITY_P, CONFIG_P, DEFHOSTIP_P, DISPLAY_URL_ON_ERROR_P, DOCURL_P, EDIT_ROOT_P, FS_SENSITIVITY, host, HOST_P, instances, KEEP_ALIVE_P, KEEP_TIMEOUT_P, LOGGER_P, MAX_LOADED_STORE, MAX_LOADED_STORE_P, port, PORT_P, props, PROPS_P, PUBLIC_P, REQUEST_TIMEOUT_P, root, ROOT_CLASS_P, ROOT_NAME_P, ROOT_P, SERIALIZER_CLASS_P, SERVER_GROUP_P, SERVER_SOFTWARE_P, SERVER_USER_P, SHUFFLER_PATH_P, SPACE_P, STARTUP_P, STORE_SIZE_LIMIT, STORE_SIZE_LIMIT_P, thread, timer, TRACE_P, TRASHDIR_P, url, USE_SM_P, verscount, VERSCOUNT_P, version
 
Constructor Summary
IDMd()
          constructor of this daemon
 
Method Summary
protected  java.lang.Object clone()
          clone method of this daemon
protected  java.lang.String getBanner()
          method for supplying the banner of this daemon
 java.net.URL getURL()
          method for supplying the uri of this daemon
protected  void initializeProperties()
          method for initializing the properties of this daemon
protected  void initializePropertySets()
          method for registering IDM property management
 org.w3c.tools.resources.ReplyInterface perform(org.w3c.tools.resources.RequestInterface req)
          method for supplying a reply interface of a request
 boolean propertyChanged(java.lang.String name)
          method for handling a dynamic property modification
 
Methods inherited from class org.w3c.jigsaw.http.httpd
checkFileSystemSensitivity, checkpoint, checkUpgrade, cleanTempDirectory, cleanup, clone, debug, enumeratePropertySet, errlog, errlog, errlog, errlog, fatal, fatal, getAuthDirectory, getClientBufferSize, getClientDebug, getClientKeepConnection, getClientThreadPriority, getConfigDirectory, getConfigResource, getConnectionTimeOut, getDefaultContext, getDocumentationURL, getEditRoot, getHost, getHTMLStatus, getIdentifier, getIndexerDirectory, getIndexersCatalog, getInetAddress, getLocalPort, getLogger, getMimeClientFactory, getPort, getProperties, getPropertySet, getRealmsCatalog, getRequestTimeOut, getResourceSpace, getResourceStoreManager, getRoot, getRootDirectory, getRootReference, getShuffler, getSoftware, getSpaceDir, getStatistics, getStoreDirectory, getTempDirectory, getTrashDirectory, initialize, loadResource, loadRoot, loadStartupClasses, log, log, main, registerPropertySet, restart, run, shutdown, start, startCheckpoint, trace, trace, usage, warning, warning
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static boolean debug
Constructor Detail

IDMd

public IDMd()
constructor of this daemon

Method Detail

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
clone method of this daemon

Overrides:
clone in class java.lang.Object
java.lang.CloneNotSupportedException

getBanner

protected java.lang.String getBanner()
method for supplying the banner of this daemon

Overrides:
getBanner in class org.w3c.jigsaw.http.httpd
Returns:
banner of this daemon

initializePropertySets

protected void initializePropertySets()
method for registering IDM property management

Overrides:
initializePropertySets in class org.w3c.jigsaw.http.httpd

initializeProperties

protected void initializeProperties()
                             throws org.w3c.jigsaw.daemon.ServerHandlerInitException
method for initializing the properties of this daemon

Overrides:
initializeProperties in class org.w3c.jigsaw.http.httpd
Throws:
org.w3c.jigsaw.daemon.ServerHandlerInitException - if initialization fails

propertyChanged

public boolean propertyChanged(java.lang.String name)
method for handling a dynamic property modification

Specified by:
propertyChanged in interface org.w3c.util.PropertyMonitoring
Overrides:
propertyChanged in class org.w3c.jigsaw.http.httpd
Parameters:
name - the name of the property modified
Returns:
true if and only if the modification has been handled successfully

perform

public org.w3c.tools.resources.ReplyInterface perform(org.w3c.tools.resources.RequestInterface req)
                                               throws org.w3c.tools.resources.ProtocolException,
                                                      org.w3c.tools.resources.ResourceException
method for supplying a reply interface of a request

Specified by:
perform in interface org.w3c.tools.resources.ServerInterface
Overrides:
perform in class org.w3c.jigsaw.http.httpd
Parameters:
req - current request to be handled
Returns:
reply for a current request
org.w3c.tools.resources.ProtocolException
org.w3c.tools.resources.ResourceException

getURL

public java.net.URL getURL()
method for supplying the uri of this daemon

Specified by:
getURL in interface org.w3c.tools.resources.ServerInterface
Overrides:
getURL in class org.w3c.jigsaw.http.httpd
Returns:
uri of this daemon


Copyright © 2003 DRIM Team. All Rights Reserved.