org.apache.hivemind.impl
Class ShutdownCoordinatorImpl

java.lang.Object
  extended by org.apache.hivemind.impl.ShutdownCoordinatorImpl
All Implemented Interfaces:
ShutdownCoordinator

public final class ShutdownCoordinatorImpl
extends java.lang.Object
implements ShutdownCoordinator

Manages a list of objects that implement the RegistryShutdownListener interface.

Author:
Howard Lewis Ship

Constructor Summary
ShutdownCoordinatorImpl()
           
ShutdownCoordinatorImpl(org.apache.commons.logging.Log log)
           
 
Method Summary
 void addRegistryShutdownListener(RegistryShutdownListener s)
           
 void removeRegistryShutdownListener(RegistryShutdownListener s)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutdownCoordinatorImpl

public ShutdownCoordinatorImpl()

ShutdownCoordinatorImpl

public ShutdownCoordinatorImpl(org.apache.commons.logging.Log log)
Method Detail

addRegistryShutdownListener

public void addRegistryShutdownListener(RegistryShutdownListener s)
Specified by:
addRegistryShutdownListener in interface ShutdownCoordinator

removeRegistryShutdownListener

public void removeRegistryShutdownListener(RegistryShutdownListener s)
Specified by:
removeRegistryShutdownListener in interface ShutdownCoordinator

shutdown

public void shutdown()
Specified by:
shutdown in interface ShutdownCoordinator