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 |
doStart() |
protected void |
doStop() |
doInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
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 doStart() throws Exception
doStart
in class org.apache.camel.support.service.ServiceSupport
Exception
Apache Camel