public class DefaultManagementAgent extends org.apache.camel.support.service.ServiceSupport implements org.apache.camel.spi.ManagementAgent, org.apache.camel.CamelContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DOMAIN |
static String |
DEFAULT_HOST |
| Constructor and Description |
|---|
DefaultManagementAgent() |
DefaultManagementAgent(org.apache.camel.CamelContext camelContext) |
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, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String DEFAULT_DOMAIN
public static final String DEFAULT_HOST
public DefaultManagementAgent()
public DefaultManagementAgent(org.apache.camel.CamelContext camelContext)
protected void finalizeSettings() throws Exception
Exceptionpublic void setMBeanServerDefaultDomain(String domain)
setMBeanServerDefaultDomain in interface org.apache.camel.spi.ManagementAgentpublic String getMBeanServerDefaultDomain()
getMBeanServerDefaultDomain in interface org.apache.camel.spi.ManagementAgentpublic void setMBeanObjectDomainName(String domainName)
setMBeanObjectDomainName in interface org.apache.camel.spi.ManagementAgentpublic String getMBeanObjectDomainName()
getMBeanObjectDomainName in interface org.apache.camel.spi.ManagementAgentpublic void setUsePlatformMBeanServer(Boolean flag)
setUsePlatformMBeanServer in interface org.apache.camel.spi.ManagementAgentpublic Boolean getUsePlatformMBeanServer()
getUsePlatformMBeanServer in interface org.apache.camel.spi.ManagementAgentpublic Boolean getOnlyRegisterProcessorWithCustomId()
getOnlyRegisterProcessorWithCustomId in interface org.apache.camel.spi.ManagementAgentpublic void setOnlyRegisterProcessorWithCustomId(Boolean onlyRegisterProcessorWithCustomId)
setOnlyRegisterProcessorWithCustomId in interface org.apache.camel.spi.ManagementAgentpublic void setMBeanServer(MBeanServer mbeanServer)
setMBeanServer in interface org.apache.camel.spi.ManagementAgentpublic MBeanServer getMBeanServer()
getMBeanServer in interface org.apache.camel.spi.ManagementAgentpublic Boolean getRegisterAlways()
getRegisterAlways in interface org.apache.camel.spi.ManagementAgentpublic void setRegisterAlways(Boolean registerAlways)
setRegisterAlways in interface org.apache.camel.spi.ManagementAgentpublic Boolean getRegisterNewRoutes()
getRegisterNewRoutes in interface org.apache.camel.spi.ManagementAgentpublic void setRegisterNewRoutes(Boolean registerNewRoutes)
setRegisterNewRoutes in interface org.apache.camel.spi.ManagementAgentpublic Boolean getMask()
getMask in interface org.apache.camel.spi.ManagementAgentpublic void setMask(Boolean mask)
setMask in interface org.apache.camel.spi.ManagementAgentpublic Boolean getIncludeHostName()
getIncludeHostName in interface org.apache.camel.spi.ManagementAgentpublic void setIncludeHostName(Boolean includeHostName)
setIncludeHostName in interface org.apache.camel.spi.ManagementAgentpublic Boolean getUseHostIPAddress()
getUseHostIPAddress in interface org.apache.camel.spi.ManagementAgentpublic void setUseHostIPAddress(Boolean useHostIPAddress)
setUseHostIPAddress in interface org.apache.camel.spi.ManagementAgentpublic String getManagementNamePattern()
getManagementNamePattern in interface org.apache.camel.spi.ManagementAgentpublic void setManagementNamePattern(String managementNamePattern)
setManagementNamePattern in interface org.apache.camel.spi.ManagementAgentpublic Boolean getLoadStatisticsEnabled()
getLoadStatisticsEnabled in interface org.apache.camel.spi.ManagementAgentpublic void setLoadStatisticsEnabled(Boolean loadStatisticsEnabled)
setLoadStatisticsEnabled in interface org.apache.camel.spi.ManagementAgentpublic Boolean getEndpointRuntimeStatisticsEnabled()
getEndpointRuntimeStatisticsEnabled in interface org.apache.camel.spi.ManagementAgentpublic void setEndpointRuntimeStatisticsEnabled(Boolean endpointRuntimeStatisticsEnabled)
setEndpointRuntimeStatisticsEnabled in interface org.apache.camel.spi.ManagementAgentpublic org.apache.camel.ManagementStatisticsLevel getStatisticsLevel()
getStatisticsLevel in interface org.apache.camel.spi.ManagementAgentpublic void setStatisticsLevel(org.apache.camel.ManagementStatisticsLevel statisticsLevel)
setStatisticsLevel in interface org.apache.camel.spi.ManagementAgentpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void register(Object obj, ObjectName name) throws JMException
register in interface org.apache.camel.spi.ManagementAgentJMExceptionpublic void register(Object obj, ObjectName name, boolean forceRegistration) throws JMException
register in interface org.apache.camel.spi.ManagementAgentJMExceptionpublic void unregister(ObjectName name) throws JMException
unregister in interface org.apache.camel.spi.ManagementAgentJMExceptionpublic boolean isRegistered(ObjectName name)
isRegistered in interface org.apache.camel.spi.ManagementAgentpublic <T> T newProxyClient(ObjectName name, Class<T> mbean)
newProxyClient in interface org.apache.camel.spi.ManagementAgentprotected void doInit() throws Exception
doInit in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStart() throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop() throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionprotected void createMBeanServer()
protected MBeanServer findOrCreateMBeanServer()
Apache Camel