org.apache.camel.management.mbean
Class ManagedTypeConverterRegistry

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedService
      extended by org.apache.camel.management.mbean.ManagedTypeConverterRegistry
All Implemented Interfaces:
ManagedInstance, ManagedServiceMBean, ManagedTypeConverterRegistryMBean

@ManagedResource(description="Managed TypeConverterRegistry")
public class ManagedTypeConverterRegistry
extends ManagedService
implements ManagedTypeConverterRegistryMBean


Constructor Summary
ManagedTypeConverterRegistry(CamelContext context, TypeConverterRegistry registry)
           
 
Method Summary
 long getAttemptCounter()
           
 long getFailedCounter()
           
 long getHitCounter()
           
 long getMissCounter()
           
 TypeConverterRegistry getRegistry()
           
 boolean isStatisticsEnabled()
           
 void resetTypeConversionCounters()
           
 void setStatisticsEnabled(boolean statisticsEnabled)
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedService
getCamelId, getContext, getInstance, getRoute, getRouteId, getService, getState, init, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getRouteId, getState, isSupportSuspension, isSuspended, resume, start, stop, suspend
 

Constructor Detail

ManagedTypeConverterRegistry

public ManagedTypeConverterRegistry(CamelContext context,
                                    TypeConverterRegistry registry)
Method Detail

getRegistry

public TypeConverterRegistry getRegistry()

getAttemptCounter

public long getAttemptCounter()
Specified by:
getAttemptCounter in interface ManagedTypeConverterRegistryMBean

getHitCounter

public long getHitCounter()
Specified by:
getHitCounter in interface ManagedTypeConverterRegistryMBean

getMissCounter

public long getMissCounter()
Specified by:
getMissCounter in interface ManagedTypeConverterRegistryMBean

getFailedCounter

public long getFailedCounter()
Specified by:
getFailedCounter in interface ManagedTypeConverterRegistryMBean

resetTypeConversionCounters

public void resetTypeConversionCounters()
Specified by:
resetTypeConversionCounters in interface ManagedTypeConverterRegistryMBean

isStatisticsEnabled

public boolean isStatisticsEnabled()
Specified by:
isStatisticsEnabled in interface ManagedTypeConverterRegistryMBean

setStatisticsEnabled

public void setStatisticsEnabled(boolean statisticsEnabled)
Specified by:
setStatisticsEnabled in interface ManagedTypeConverterRegistryMBean


Apache CAMEL