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 ServerRegistry
public void unregister(Server server)
unregister
in interface ServerRegistry
public List<Server> getServers()
getServers
in interface ServerRegistry
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
@PreDestroy public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
Apache CXF