Package org.apache.cxf.endpoint
Class ManagedEndpoint
- java.lang.Object
- 
- org.apache.cxf.endpoint.ManagedEndpoint
 
- 
- All Implemented Interfaces:
- ServerLifeCycleListener,- ManagedComponent
 
 @ManagedResource(componentName="Endpoint", description="Responsible for managing server instances.") public class ManagedEndpoint extends Object implements ManagedComponent, ServerLifeCycleListener 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Busbusprotected Endpointendpointstatic StringENDPOINT_NAMEstatic StringINSTANCE_IDprotected Serverserverstatic StringSERVICE_NAME
 - 
Constructor SummaryConstructors Constructor Description ManagedEndpoint(Bus b, Endpoint ep, Server s)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()StringgetAddress()ObjectNamegetObjectName()StringgetState()StringgetTransportId()voidstart()voidstartServer(Server s)voidstop()voidstopServer(Server s)
 
- 
- 
- 
Field Detail- 
ENDPOINT_NAMEpublic static final String ENDPOINT_NAME - See Also:
- Constant Field Values
 
 - 
SERVICE_NAMEpublic static final String SERVICE_NAME - See Also:
- Constant Field Values
 
 - 
INSTANCE_IDpublic static final String INSTANCE_ID - See Also:
- Constant Field Values
 
 - 
busprotected final Bus bus 
 - 
endpointprotected final Endpoint endpoint 
 - 
serverprotected final Server server 
 
- 
 - 
Method Detail- 
start@ManagedOperation public void start() 
 - 
stop@ManagedOperation public void stop() 
 - 
destroy@ManagedOperation public void destroy() 
 - 
getAddress@ManagedAttribute(description="Address Attribute", currencyTimeLimit=60) public String getAddress() 
 - 
getTransportId@ManagedAttribute(description="TransportId Attribute", currencyTimeLimit=60) public String getTransportId() 
 - 
getState@ManagedAttribute(description="Server State") public String getState() 
 - 
getObjectNamepublic ObjectName getObjectName() throws JMException - Specified by:
- getObjectNamein interface- ManagedComponent
- Throws:
- JMException
 
 - 
startServerpublic void startServer(Server s) - Specified by:
- startServerin interface- ServerLifeCycleListener
 
 - 
stopServerpublic void stopServer(Server s) - Specified by:
- stopServerin interface- ServerLifeCycleListener
 
 
- 
 
-