fedora.server.utilities
Class ThreadMonitorModule

java.lang.Object
  extended byfedora.server.Parameterized
      extended byfedora.server.Pluggable
          extended byfedora.server.Module
              extended byfedora.server.utilities.ThreadMonitorModule
All Implemented Interfaces:
Logging, java.lang.Runnable, ThreadMonitor

public class ThreadMonitorModule
extends Module
implements ThreadMonitor

Title: ThreadMonitorModule.java

Description:

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: ThreadMonitorModule.java,v 1.8 2005/01/11 20:06:09 cwilper Exp $
Author:
cwilper@cs.cornell.edu

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, logConfig, logFine, logFiner, logFinest, loggingConfig, loggingFine, loggingFiner, loggingFinest, loggingInfo, loggingSevere, loggingWarning, logInfo, logSevere, logWarning, postInitModule
 
Methods inherited from class fedora.server.Pluggable
getHelp, getOptionalParameters, getParameterHelp, getRequiredModuleRoles, getRequiredParameters
 
Methods inherited from class fedora.server.Parameterized
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
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