|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementAgent
Camel JMX service agent
Method Summary | |
---|---|
Integer |
getConnectorPort()
Gets the port clients must use to connect |
Boolean |
getCreateConnector()
Whether connector is created, allowing clients to connect remotely |
String |
getMBeanObjectDomainName()
Get domain name for Camel MBeans. |
MBeanServer |
getMBeanServer()
Get the MBeanServer which hosts managed objects. |
String |
getMBeanServerDefaultDomain()
Gets the default domain on the MBean server |
Boolean |
getOnlyRegisterProcessorWithCustomId()
Whether to only register processors which has a custom id assigned. |
Boolean |
getRegisterAlways()
Whether to always register mbeans. |
Boolean |
getRegisterNewRoutes()
Whether to register mbeans when starting a new route This option is default true. |
Integer |
getRegistryPort()
Gets the port used by LocateRegistry . |
String |
getServiceUrlPath()
Gets the service url |
Boolean |
getUsePlatformMBeanServer()
Whether to use the platform MBean Server. |
boolean |
isRegistered(ObjectName name)
Is the given object registered |
void |
register(Object obj,
ObjectName name)
Registers object with management infrastructure with a specific name. |
void |
register(Object obj,
ObjectName name,
boolean forceRegistration)
Registers object with management infrastructure with a specific name. |
void |
setConnectorPort(Integer port)
Sets the port clients must use to connect |
void |
setCreateConnector(Boolean createConnector)
Whether connector should be created, allowing clients to connect remotely |
void |
setMBeanObjectDomainName(String domainName)
Sets the object domain name |
void |
setMBeanServer(MBeanServer mbeanServer)
Sets a custom mbean server to use |
void |
setMBeanServerDefaultDomain(String domain)
Sets the default domain on the MBean server |
void |
setOnlyRegisterProcessorWithCustomId(Boolean onlyRegisterProcessorWithCustomId)
Whether to only register processors which has a custom id assigned. |
void |
setRegisterAlways(Boolean registerAlways)
Whether to always register mbeans. |
void |
setRegisterNewRoutes(Boolean registerNewRoutes)
Whether to register mbeans when starting a new route This option is default true. |
void |
setRegistryPort(Integer port)
Sets the port used by LocateRegistry . |
void |
setServiceUrlPath(String url)
Sets the service url |
void |
setUsePlatformMBeanServer(Boolean usePlatformMBeanServer)
Whether to use the platform MBean Server. |
void |
unregister(ObjectName name)
Unregisters object based upon registered name |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Method Detail |
---|
void register(Object obj, ObjectName name) throws JMException
obj
- the object to registername
- the name
JMException
- is thrown if the registration failedvoid register(Object obj, ObjectName name, boolean forceRegistration) throws JMException
obj
- the object to registername
- the nameforceRegistration
- if set to true, then object will be registered despite
existing object is already registered with the name.
JMException
- is thrown if the registration failedvoid unregister(ObjectName name) throws JMException
name
- the name
JMException
- is thrown if the unregistration failedboolean isRegistered(ObjectName name)
name
- the name
MBeanServer getMBeanServer()
void setMBeanServer(MBeanServer mbeanServer)
mbeanServer
- the custom mbean serverString getMBeanObjectDomainName()
void setRegistryPort(Integer port)
LocateRegistry
.
port
- the portInteger getRegistryPort()
LocateRegistry
.
void setConnectorPort(Integer port)
port
- the portInteger getConnectorPort()
void setMBeanServerDefaultDomain(String domain)
domain
- the domainString getMBeanServerDefaultDomain()
void setMBeanObjectDomainName(String domainName)
domainName
- the object domain namevoid setServiceUrlPath(String url)
url
- the service urlString getServiceUrlPath()
void setCreateConnector(Boolean createConnector)
createConnector
- true to create connectorBoolean getCreateConnector()
void setUsePlatformMBeanServer(Boolean usePlatformMBeanServer)
usePlatformMBeanServer
- true to use platform MBean serverBoolean getUsePlatformMBeanServer()
Boolean getOnlyRegisterProcessorWithCustomId()
void setOnlyRegisterProcessorWithCustomId(Boolean onlyRegisterProcessorWithCustomId)
onlyRegisterProcessorWithCustomId
- true to only register if custom id has been assignedBoolean getRegisterAlways()
void setRegisterAlways(Boolean registerAlways)
registerAlways
- true to always registerBoolean getRegisterNewRoutes()
void setRegisterNewRoutes(Boolean registerNewRoutes)
registerNewRoutes
- true to register when starting a new route
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |