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()
           
 
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()
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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.