|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 RegistryShutdownHubpublic void addRegistryShutdownListener(Runnable listener)
RegistryShutdownHub
addRegistryShutdownListener in interface RegistryShutdownHubpublic void addRegistryWillShutdownListener(Runnable listener)
RegistryShutdownHub
addRegistryWillShutdownListener in interface RegistryShutdownHubpublic 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 | |||||||||