fedora.server.utilities
Class ThreadMonitorModule

java.lang.Object
  extended by fedora.server.Parameterized
      extended by fedora.server.Pluggable
          extended by fedora.server.Module
              extended by fedora.server.utilities.ThreadMonitorModule
All Implemented Interfaces:
Constants, ThreadMonitor, java.lang.Runnable

public class ThreadMonitorModule
extends Module
implements ThreadMonitor

Module wrapper for ThreadMonitorImpl.

Version:
$Id: ThreadMonitorModule.java 5220 2006-11-20 13:52:20Z cwilper $
Author:
cwilper@cs.cornell.edu

Nested Class Summary
 
Nested classes/interfaces inherited from interface fedora.common.Constants
Constants.FedoraHome
 
Field Summary
 
Fields inherited from interface fedora.common.Constants
ACTION, BDEF, BMECH, DATASTREAM, DC, DISSEMINATOR, ENVIRONMENT, FEDORA, FEDORA_HOME, FEDORA_SYSTEM_DEF_PID, FEDORA_SYSTEM_DEF_URI, HTTP_REQUEST, MODEL, OBJECT, RDF, RECOVERY, RELS_EXT, RESOURCE, SUBJECT, TUCANA, VIEW, XSD
 
Constructor Summary
ThreadMonitorModule(java.util.Map params, Server server, java.lang.String role)
           
 
Method Summary
 void initModule()
          Initializes the Module based on configuration parameters.
 void requestStop()
           
 void run()
           
 void shutdownModule()
          Frees system resources allocated by this Module.
 
Methods inherited from class fedora.server.Module
getRole, getServer, postInitModule
 
Methods inherited from class fedora.server.Pluggable
getHelp, getOptionalParameters, getParameterHelp, getRequiredModuleRoles, getRequiredParameters
 
Methods inherited from class fedora.server.Parameterized
getParameter, getParameter, getParameters, parameterNames, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadMonitorModule

public ThreadMonitorModule(java.util.Map params,
                           Server server,
                           java.lang.String role)
                    throws ModuleInitializationException
Throws:
ModuleInitializationException
Method Detail

initModule

public void initModule()
                throws ModuleInitializationException
Description copied from class: Module
Initializes the Module based on configuration parameters.

Overrides:
initModule in class Module
Throws:
ModuleInitializationException - If initialization values are invalid or initialization fails for some other reason.

shutdownModule

public void shutdownModule()
Description copied from class: Module
Frees system resources allocated by this Module.

Overrides:
shutdownModule in class Module

run

public void run()
Specified by:
run in interface java.lang.Runnable

requestStop

public void requestStop()
Specified by:
requestStop in interface ThreadMonitor