public class DefaultManagementMBeanAssembler
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.ManagementMBeanAssembler
ModelMBean
which can be used to register the object in
JMX. The assembler is capable of using the Camel JMX annotations to gather the list of JMX operations and attributes.Modifier and Type | Field and Description |
---|---|
protected MBeanInfoAssembler |
assembler |
protected org.apache.camel.CamelContext |
camelContext |
Constructor and Description |
---|
DefaultManagementMBeanAssembler(org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
ModelMBean |
assemble(MBeanServer mBeanServer,
Object obj,
ObjectName name) |
protected void |
doInit() |
protected void |
doStart() |
protected void |
doStop() |
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final MBeanInfoAssembler assembler
protected final org.apache.camel.CamelContext camelContext
public DefaultManagementMBeanAssembler(org.apache.camel.CamelContext camelContext)
public ModelMBean assemble(MBeanServer mBeanServer, Object obj, ObjectName name) throws JMException
assemble
in interface org.apache.camel.spi.ManagementMBeanAssembler
JMException
protected void doInit() throws Exception
doInit
in class org.apache.camel.support.service.BaseService
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.BaseService
Exception
Apache Camel