Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc.services
Interface RegistryShutdownHub

All Known Subinterfaces:
  InternalRegistry

All Known Implementing Classes:
  RegistryImpl, RegistryShutdownHubImpl

    public interface RegistryShutdownHub

Event hub for notifications when the IOC `Registry` shuts down.

Method Summary
`void` | `addRegistryShutdownListener(RegistryShutdownListener listener)` Adds a listener for eventual notification.
`void` | `addRegistryShutdownListener(java.lang.Runnable listener)` Adds a listener for eventual notification when the registry shuts down.
`void` | `addRegistryWillShutdownListener(java.lang.Runnable listener)` Adds a listener for eventual notification.

Method Detail

### addRegistryShutdownListener

    void addRegistryShutdownListener(RegistryShutdownListener listener)

  Adds a listener for eventual notification.

### addRegistryShutdownListener

    void addRegistryShutdownListener(java.lang.Runnable listener)

  Adds a listener for eventual notification when the registry shuts down. Runtime exceptions thrown by the listener will be logged and ignored.

  Since:
    5.3

### addRegistryWillShutdownListener

    void addRegistryWillShutdownListener(java.lang.Runnable listener)

  Adds a listener for eventual notification. RegistryWillShutdownListeners are notified before any standard listeners, and before service proxies and other parts of the Registry are disabled. Runtime exceptions thrown by the listener will be logged and ignored.

  Since:
    5.3

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.