@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 |
INDENTION |
static String |
SERVICE_NAME |
Constructor and Description |
---|
ManagedEndpoint(Bus b,
Endpoint ep,
Server s) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
getAddress() |
String |
getJSONSchema() |
String |
getJSONSchemaForClass(String clsName) |
String |
getJSONSchemaForOperation(String operationName) |
ObjectName |
getObjectName() |
String |
getServletContext() |
String |
getState() |
String |
getTransportId() |
boolean |
isSwagger() |
boolean |
isWADL() |
boolean |
isWSDL() |
void |
start() |
void |
startServer(Server s) |
void |
stop() |
void |
stopServer(Server s) |
public static final String ENDPOINT_NAME
public static final String SERVICE_NAME
public static final String INDENTION
@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()
@ManagedAttribute(description="The cxf servlet context", currencyTimeLimit=60) public String getServletContext()
@ManagedAttribute(description="if the endpoint has swagger doc or not", currencyTimeLimit=60) public boolean isSwagger()
@ManagedAttribute(description="if the endpoint has wsdl doc or not", currencyTimeLimit=60) public boolean isWSDL()
@ManagedAttribute(description="if the endpoint has WADL doc or not", currencyTimeLimit=60) public boolean isWADL()
@ManagedOperation(description="get the JSON schema from a given endpoint", currencyTimeLimit=60) public String getJSONSchema()
@ManagedOperation(description="get the JSON schema from a given class", currencyTimeLimit=60) public String getJSONSchemaForClass(String clsName)
@ManagedOperation(description="get the JSON schema from a given soap endpoint for a given operation", currencyTimeLimit=60) public String getJSONSchemaForOperation(String operationName)
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