org.apache.camel.management.mbean
Class ManagedBeanProcessor

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedCounter
      extended by org.apache.camel.management.mbean.ManagedPerformanceCounter
          extended by org.apache.camel.management.mbean.ManagedProcessor
              extended by org.apache.camel.management.mbean.ManagedBeanProcessor
All Implemented Interfaces:
ManagedInstance, PerformanceCounter

@ManagedResource(description="Managed Bean Processor")
public class ManagedBeanProcessor
extends ManagedProcessor

Version:

Field Summary
 
Fields inherited from class org.apache.camel.management.mbean.ManagedCounter
exchangesTotal
 
Constructor Summary
ManagedBeanProcessor(CamelContext context, BeanProcessor processor, ProcessorDefinition<?> definition)
           
 
Method Summary
 Object getInstance()
          Gets the resource which is being managed.
 BeanProcessor getProcessor()
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedProcessor
getCamelId, getContext, getDefinition, getProcessorId, getRoute, getRouteId, getState, setRoute, start, stop
 
Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
completedExchange, failedExchange, getExchangesCompleted, getExchangesFailed, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureTimestamp, getLastExchangeCompletedTimestamp, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getTotalProcessingTime, init, isStatisticsEnabled, reset, setStatisticsEnabled
 
Methods inherited from class org.apache.camel.management.mbean.ManagedCounter
getExchangesTotal, increment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedBeanProcessor

public ManagedBeanProcessor(CamelContext context,
                            BeanProcessor processor,
                            ProcessorDefinition<?> definition)
Method Detail

getProcessor

public BeanProcessor getProcessor()
Overrides:
getProcessor in class ManagedProcessor

getInstance

public Object getInstance()
Description copied from interface: ManagedInstance
Gets the resource which is being managed.

Specified by:
getInstance in interface ManagedInstance
Overrides:
getInstance in class ManagedProcessor
Returns:
the resource, such as a Processor, Consumer etc.


Apache CAMEL