@ManagedResource(componentName="Endpoint", description="Responsible for managing server instances.") public class ManagedEndpoint extends Object implements ManagedComponent, ServerLifeCycleListener
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_NAME |
static String |
SERVICE_NAME |
Constructor and Description |
---|
ManagedEndpoint(Bus b,
Endpoint ep,
Server s) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
getAddress() |
ObjectName |
getObjectName() |
String |
getState() |
String |
getTransportId() |
void |
start() |
void |
startServer(Server s) |
void |
stop() |
void |
stopServer(Server s) |
public static final String ENDPOINT_NAME
public static final String SERVICE_NAME
@ManagedOperation public void start()
@ManagedOperation public void stop()
@ManagedOperation public void destroy()
@ManagedAttribute(description="Address Attribute", currencyTimeLimit=60) public String getAddress()
@ManagedAttribute(description="TransportId Attribute", currencyTimeLimit=60) public String getTransportId()
@ManagedAttribute(description="Server State") public String getState()
public ObjectName getObjectName() throws JMException
getObjectName
in interface ManagedComponent
JMException
public void startServer(Server s)
startServer
in interface ServerLifeCycleListener
public void stopServer(Server s)
stopServer
in interface ServerLifeCycleListener
Apache CXF