public interface BusLifeCycleManager extends BusLifeCycleListener
BusLifeCycleListener
s.
A class that implements the BusLifeCycleListener interface can be
registered or unregistered to receive notification of Bus
lifecycle events.Modifier and Type | Method and Description |
---|---|
void |
registerLifeCycleListener(BusLifeCycleListener listener)
Register a listener to receive
Bus lifecycle notification. |
void |
unregisterLifeCycleListener(BusLifeCycleListener listener)
Unregister a listener so that it will no longer receive
Bus
lifecycle events. |
initComplete, postShutdown, preShutdown
void registerLifeCycleListener(BusLifeCycleListener listener)
Bus
lifecycle notification.listener
- The BusLifeCycleListener
that will
receive the events.void unregisterLifeCycleListener(BusLifeCycleListener listener)
Bus
lifecycle events.listener
- The BusLifeCycleListener
to unregister.Copyright © 2017 JBoss by Red Hat. All rights reserved.