Package org.apache.cxf.bus.managers
Class ServerRegistryImpl
- java.lang.Object
-
- org.apache.cxf.bus.managers.ServerRegistryImpl
-
- All Implemented Interfaces:
BusLifeCycleListener,ServerRegistry
public class ServerRegistryImpl extends Object implements ServerRegistry, BusLifeCycleListener
-
-
Constructor Summary
Constructors Constructor Description ServerRegistryImpl()ServerRegistryImpl(Bus b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BusgetBus()List<Server>getServers()voidinitComplete()Invoked when theBushas been initialized.voidpostShutdown()Invoked after theBusis shutdown.voidpreShutdown()Invoked before theBusis shutdown.voidregister(Server server)voidsetBus(Bus bus)voidunregister(Server server)
-
-
-
Constructor Detail
-
ServerRegistryImpl
public ServerRegistryImpl()
-
ServerRegistryImpl
public ServerRegistryImpl(Bus b)
-
-
Method Detail
-
getBus
public Bus getBus()
-
setBus
public final void setBus(Bus bus)
-
register
public void register(Server server)
- Specified by:
registerin interfaceServerRegistry
-
unregister
public void unregister(Server server)
- Specified by:
unregisterin interfaceServerRegistry
-
getServers
public List<Server> getServers()
- Specified by:
getServersin interfaceServerRegistry
-
initComplete
public void initComplete()
Description copied from interface:BusLifeCycleListenerInvoked when theBushas been initialized.- Specified by:
initCompletein interfaceBusLifeCycleListener
-
preShutdown
@PreDestroy public void preShutdown()
Description copied from interface:BusLifeCycleListenerInvoked before theBusis shutdown.- Specified by:
preShutdownin interfaceBusLifeCycleListener
-
postShutdown
public void postShutdown()
Description copied from interface:BusLifeCycleListenerInvoked after theBusis shutdown.- Specified by:
postShutdownin interfaceBusLifeCycleListener
-
-