Apache CXF API

org.apache.cxf.endpoint
Class ManagedEndpoint

java.lang.Object
  extended by org.apache.cxf.endpoint.ManagedEndpoint
All Implemented Interfaces:
ServerLifeCycleListener, ManagedComponent

@ManagedResource(componentName="Endpoint",
                 description="Responsible for managing server instances.")
public class ManagedEndpoint
extends java.lang.Object
implements ManagedComponent, ServerLifeCycleListener


Constructor Summary
ManagedEndpoint(Bus b, Endpoint ep, Server s)
           
 
Method Summary
 java.lang.String getAddress()
           
 javax.management.ObjectName getObjectName()
           
 java.lang.String getState()
           
 java.lang.String getTransportId()
           
 void start()
           
 void startServer(Server s)
           
 void stop()
           
 void stopServer(Server s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedEndpoint

public ManagedEndpoint(Bus b,
                       Endpoint ep,
                       Server s)
Method Detail

start

@ManagedOperation
public void start()

stop

@ManagedOperation
public void stop()

getAddress

@ManagedAttribute(description="Address Attribute",
                  currencyTimeLimit=60)
public java.lang.String getAddress()

getTransportId

@ManagedAttribute(description="TransportId Attribute",
                  currencyTimeLimit=60)
public java.lang.String getTransportId()

getState

@ManagedAttribute(description="Server State")
public java.lang.String getState()

getObjectName

public javax.management.ObjectName getObjectName()
                                          throws javax.management.JMException
Specified by:
getObjectName in interface ManagedComponent
Throws:
javax.management.JMException

startServer

public void startServer(Server s)
Specified by:
startServer in interface ServerLifeCycleListener

stopServer

public void stopServer(Server s)
Specified by:
stopServer in interface ServerLifeCycleListener

Apache CXF API

Apache CXF