org.apache.cxf.endpoint
Class ServerRegistryImpl

java.lang.Object
  extended by org.apache.cxf.endpoint.ServerRegistryImpl
All Implemented Interfaces:
org.apache.cxf.buslifecycle.BusLifeCycleListener, org.apache.cxf.endpoint.ServerRegistry

public class ServerRegistryImpl
extends Object
implements org.apache.cxf.endpoint.ServerRegistry, org.apache.cxf.buslifecycle.BusLifeCycleListener


Constructor Summary
ServerRegistryImpl()
           
ServerRegistryImpl(org.apache.cxf.Bus b)
           
 
Method Summary
 org.apache.cxf.Bus getBus()
           
 List<org.apache.cxf.endpoint.Server> getServers()
           
 void initComplete()
           
 void postShutdown()
           
 void preShutdown()
           
 void register(org.apache.cxf.endpoint.Server server)
           
 void setBus(org.apache.cxf.Bus bus)
           
 void unregister(org.apache.cxf.endpoint.Server server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerRegistryImpl

public ServerRegistryImpl()

ServerRegistryImpl

public ServerRegistryImpl(org.apache.cxf.Bus b)
Method Detail

getBus

public org.apache.cxf.Bus getBus()

setBus

public final void setBus(org.apache.cxf.Bus bus)

register

public void register(org.apache.cxf.endpoint.Server server)
Specified by:
register in interface org.apache.cxf.endpoint.ServerRegistry

unregister

public void unregister(org.apache.cxf.endpoint.Server server)
Specified by:
unregister in interface org.apache.cxf.endpoint.ServerRegistry

getServers

public List<org.apache.cxf.endpoint.Server> getServers()
Specified by:
getServers in interface org.apache.cxf.endpoint.ServerRegistry

initComplete

public void initComplete()
Specified by:
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListener

preShutdown

@PreDestroy
public void preShutdown()
Specified by:
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener

postShutdown

public void postShutdown()
Specified by:
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener


Apache CXF