org.apache.camel.management.mbean
Class ManagedComponent
java.lang.Object
org.apache.camel.management.mbean.ManagedComponent
- All Implemented Interfaces:
- ManagedInstance
@ManagedResource(description="Managed Component")
public class ManagedComponent
- extends Object
- implements ManagedInstance
- Version:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedComponent
public ManagedComponent(String name,
Component component)
init
public void init(ManagementStrategy strategy)
getComponent
public Component getComponent()
getComponentName
@ManagedAttribute(description="Component Name")
public String getComponentName()
getState
@ManagedAttribute(description="Component State")
public String getState()
getCamelId
@ManagedAttribute(description="Camel id")
public String getCamelId()
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