public class CXFBusLifeCycleManager extends Object implements BusLifeCycleManager
Constructor and Description |
---|
CXFBusLifeCycleManager() |
CXFBusLifeCycleManager(Bus b) |
Modifier and Type | Method and Description |
---|---|
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
void |
registerLifeCycleListener(BusLifeCycleListener listener)
Register a listener to receive
Bus lifecycle notification. |
void |
setBus(Bus b) |
void |
unregisterLifeCycleListener(BusLifeCycleListener listener)
Unregister a listener so that it will no longer receive
Bus
lifecycle events. |
public CXFBusLifeCycleManager()
public CXFBusLifeCycleManager(Bus b)
public final void setBus(Bus b)
public final void registerLifeCycleListener(BusLifeCycleListener listener)
BusLifeCycleManager
Bus
lifecycle notification.registerLifeCycleListener
in interface BusLifeCycleManager
listener
- The BusLifeCycleListener
that will
receive the events.public void unregisterLifeCycleListener(BusLifeCycleListener listener)
BusLifeCycleManager
Bus
lifecycle events.unregisterLifeCycleListener
in interface BusLifeCycleManager
listener
- The BusLifeCycleListener
to unregister.public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
Apache CXF