public class ServerRegistryImpl extends Object implements ServerRegistry, BusLifeCycleListener
| Constructor and Description |
|---|
ServerRegistryImpl() |
ServerRegistryImpl(Bus b) |
| Modifier and Type | Method and Description |
|---|---|
Bus |
getBus() |
List<Server> |
getServers() |
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 |
register(Server server) |
void |
setBus(Bus bus) |
void |
unregister(Server server) |
public ServerRegistryImpl()
public ServerRegistryImpl(Bus b)
public Bus getBus()
public final void setBus(Bus bus)
public void register(Server server)
register in interface ServerRegistrypublic void unregister(Server server)
unregister in interface ServerRegistrypublic List<Server> getServers()
getServers in interface ServerRegistrypublic void initComplete()
BusLifeCycleListenerBus has been initialized.initComplete in interface BusLifeCycleListener@PreDestroy public void preShutdown()
BusLifeCycleListenerBus is shutdown.preShutdown in interface BusLifeCycleListenerpublic void postShutdown()
BusLifeCycleListenerBus is shutdown.postShutdown in interface BusLifeCycleListenerApache CXF