org.apache.camel.management.mbean
Class ManagedEndpoint

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


Constructor Summary
ManagedEndpoint(Endpoint endpoint)
           
 
Method Summary
 String getCamelId()
           
 Endpoint getEndpoint()
           
 String getEndpointUri()
           
 Object 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

@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