net.sourceforge.hiveutils.service.impl
Class ShutdownCoordinatorImpl

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

public final class ShutdownCoordinatorImpl
extends java.lang.Object
implements org.apache.hivemind.ShutdownCoordinator


Constructor Summary
ShutdownCoordinatorImpl(int defaultPriority, java.util.List<ShutdownContribution> priorities)
           
 
Method Summary
 void addRegistryShutdownListener(org.apache.hivemind.events.RegistryShutdownListener l)
           
 void removeRegistryShutdownListener(org.apache.hivemind.events.RegistryShutdownListener l)
           
 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(int defaultPriority,
                               java.util.List<ShutdownContribution> priorities)
Method Detail

addRegistryShutdownListener

public void addRegistryShutdownListener(org.apache.hivemind.events.RegistryShutdownListener l)
Specified by:
addRegistryShutdownListener in interface org.apache.hivemind.ShutdownCoordinator

removeRegistryShutdownListener

public void removeRegistryShutdownListener(org.apache.hivemind.events.RegistryShutdownListener l)
Specified by:
removeRegistryShutdownListener in interface org.apache.hivemind.ShutdownCoordinator

shutdown

public void shutdown()
Specified by:
shutdown in interface org.apache.hivemind.ShutdownCoordinator