org.apache.camel.management.mbean
Class ManagedEndpoint
java.lang.Object
org.apache.camel.management.mbean.ManagedEndpoint
- All Implemented Interfaces:
- ManagedInstance, ManagedEndpointMBean
- Direct Known Subclasses:
- ManagedBrowsableEndpoint
@ManagedResource(description="Managed Endpoint")
public class ManagedEndpoint
- extends Object
- implements ManagedInstance, ManagedEndpointMBean
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
public String getCamelId()
- Specified by:
getCamelId
in interface ManagedEndpointMBean
getEndpointUri
public String getEndpointUri()
- Specified by:
getEndpointUri
in interface ManagedEndpointMBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface ManagedEndpointMBean
getState
public String getState()
- Specified by:
getState
in interface ManagedEndpointMBean
getInstance
public Endpoint 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