org.apache.camel.management.mbean
Class ManagedEndpoint
java.lang.Object
org.apache.camel.management.mbean.ManagedEndpoint
- All Implemented Interfaces:
- ManagedInstance
- Direct Known Subclasses:
- ManagedBrowsableEndpoint
@ManagedResource(description="Managed Endpoint")
public class ManagedEndpoint
- extends Object
- implements ManagedInstance
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedEndpoint
public ManagedEndpoint(Endpoint endpoint)
init
public void init(ManagementStrategy strategy)
getEndpoint
public Endpoint getEndpoint()
getCamelId
@ManagedAttribute(description="Camel id")
public String getCamelId()
getEndpointUri
@ManagedAttribute(description="Endpoint Uri")
public String getEndpointUri()
isSingleton
@ManagedAttribute(description="Singleton")
public boolean isSingleton()
getState
@ManagedAttribute(description="Service State")
public String getState()
getInstance
public Object getInstance()
- Description copied from interface:
ManagedInstance
- Gets the resource which is being managed.
- Specified by:
getInstance in interface ManagedInstance
- Returns:
- the resource, such as a
Processor, Consumer etc.
Apache CAMEL