|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.ioc.internal.services.RegistryShutdownHubImpl
public class RegistryShutdownHubImpl
Constructor Summary | |
---|---|
RegistryShutdownHubImpl(org.slf4j.Logger logger)
|
Method Summary | |
---|---|
void |
addRegistryShutdownListener(RegistryShutdownListener listener)
Adds a listener for eventual notification. |
void |
addRegistryShutdownListener(Runnable listener)
Adds a listener for eventual notification when the registry shuts down. |
void |
addRegistryWillShutdownListener(Runnable listener)
Adds a listener for eventual notification. |
void |
fireRegistryDidShutdown()
Fires the RegistryShutdownListener.registryDidShutdown() method on each listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryShutdownHubImpl(org.slf4j.Logger logger)
Method Detail |
---|
public void addRegistryShutdownListener(RegistryShutdownListener listener)
RegistryShutdownHub
addRegistryShutdownListener
in interface RegistryShutdownHub
public void addRegistryShutdownListener(Runnable listener)
RegistryShutdownHub
addRegistryShutdownListener
in interface RegistryShutdownHub
public void addRegistryWillShutdownListener(Runnable listener)
RegistryShutdownHub
addRegistryWillShutdownListener
in interface RegistryShutdownHub
public void fireRegistryDidShutdown()
RegistryShutdownListener.registryDidShutdown()
method on each listener. At the end, all the
listeners are discarded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |