Package org.apache.cxf.bus.managers
Class CXFBusLifeCycleManager
java.lang.Object
org.apache.cxf.bus.managers.CXFBusLifeCycleManager
- All Implemented Interfaces:
BusLifeCycleListener
,BusLifeCycleManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when theBus
has been initialized.void
Invoked after theBus
is shutdown.void
Invoked before theBus
is shutdown.final void
Register a listener to receiveBus
lifecycle notification.final void
void
Unregister a listener so that it will no longer receiveBus
lifecycle events.
-
Constructor Details
-
CXFBusLifeCycleManager
public CXFBusLifeCycleManager() -
CXFBusLifeCycleManager
-
-
Method Details
-
setBus
-
registerLifeCycleListener
Description copied from interface:BusLifeCycleManager
Register a listener to receiveBus
lifecycle notification.- Specified by:
registerLifeCycleListener
in interfaceBusLifeCycleManager
- Parameters:
listener
- TheBusLifeCycleListener
that will receive the events.
-
unregisterLifeCycleListener
Description copied from interface:BusLifeCycleManager
Unregister a listener so that it will no longer receiveBus
lifecycle events.- Specified by:
unregisterLifeCycleListener
in interfaceBusLifeCycleManager
- Parameters:
listener
- TheBusLifeCycleListener
to unregister.
-
initComplete
public void initComplete()Description copied from interface:BusLifeCycleListener
Invoked when theBus
has been initialized.- Specified by:
initComplete
in interfaceBusLifeCycleListener
-
preShutdown
public void preShutdown()Description copied from interface:BusLifeCycleListener
Invoked before theBus
is shutdown.- Specified by:
preShutdown
in interfaceBusLifeCycleListener
-
postShutdown
public void postShutdown()Description copied from interface:BusLifeCycleListener
Invoked after theBus
is shutdown.- Specified by:
postShutdown
in interfaceBusLifeCycleListener
-