org.apache.camel.management.mbean
Class ManagedEndpoint

java.lang.Object
  extended by 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


Constructor Summary
ManagedEndpoint(Endpoint endpoint)
           
 
Method Summary
 String getCamelId()
           
 Endpoint getEndpoint()
           
 String getEndpointUri()
           
 Endpoint getInstance()
          Gets the resource which is being managed.
 String getState()
           
 void init(ManagementStrategy strategy)
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedEndpoint

public ManagedEndpoint(Endpoint endpoint)
Method Detail

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