org.apache.cxf.endpoint
Class ManagedEndpoint
java.lang.Object
org.apache.cxf.endpoint.ManagedEndpoint
- All Implemented Interfaces:
- org.apache.cxf.endpoint.ServerLifeCycleListener, org.apache.cxf.management.ManagedComponent
@ManagedResource(componentName="Endpoint",
description="Responsible for managing server instances.")
public class ManagedEndpoint- extends Object
- implements org.apache.cxf.management.ManagedComponent, org.apache.cxf.endpoint.ServerLifeCycleListener
|
Constructor Summary |
ManagedEndpoint(org.apache.cxf.Bus b,
org.apache.cxf.endpoint.Endpoint ep,
org.apache.cxf.endpoint.Server s)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENDPOINT_NAME
public static final String ENDPOINT_NAME
- See Also:
- Constant Field Values
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
ManagedEndpoint
public ManagedEndpoint(org.apache.cxf.Bus b,
org.apache.cxf.endpoint.Endpoint ep,
org.apache.cxf.endpoint.Server s)
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()
getObjectName
public ObjectName getObjectName()
throws JMException
- Specified by:
getObjectName in interface org.apache.cxf.management.ManagedComponent
- Throws:
JMException
startServer
public void startServer(org.apache.cxf.endpoint.Server s)
- Specified by:
startServer in interface org.apache.cxf.endpoint.ServerLifeCycleListener
stopServer
public void stopServer(org.apache.cxf.endpoint.Server s)
- Specified by:
stopServer in interface org.apache.cxf.endpoint.ServerLifeCycleListener
Apache CXF