Interface ManagementConfig
- All Superinterfaces:
- Config
Management Configuration. Enable remote JMX access.
- Since:
- 4.4
- 
Method SummaryModifier and TypeMethodDescriptionintGets the JMX service port.getHost()Gets the host.intGets the RMI registry port.booleanWhether or not the external JMX Connector is enabled or not.voidsetConnectionPort(int port) Sets the JMX service port.voidsetEnabled(boolean enabled) Sets whether or not a remote JMX Connector is enabled or not.voidSet the host.voidsetKeystoreConfig(KeyStoreConfig keystoreConfig) Sets the keystore configuration.voidsetRegistryPort(int port) Sets the RMI registry port.
- 
Method Details- 
setHostSet the host. This determines the local interface used for the RMI registry and the JMX service.By default this is "localhost". - Parameters:
- host- the host name or IP address.
- Throws:
- ConfigException- if unable to set the property
 
- 
getHostString getHost()Gets the host.- Returns:
- host name or IP address.
 
- 
setRegistryPortSets the RMI registry port.By default this is set to 1099. - Parameters:
- port- RMI registry port
- Throws:
- ConfigException- if unable to set the property
 
- 
getRegistryPortint getRegistryPort()Gets the RMI registry port.- Returns:
- port number
 
- 
setConnectionPortSets the JMX service port.By default this is 1100. If desired, it can be set to the same port number as the RMI registry port. - Parameters:
- port- the connection port
- Throws:
- ConfigException- if unable to set the property
 
- 
getConnectionPortint getConnectionPort()Gets the JMX service port.- Returns:
- connection port
 
- 
setKeystoreConfigSets the keystore configuration.- Throws:
- ConfigException
 
- 
getKeystoreConfigKeyStoreConfig getKeystoreConfig()- Returns:
- the keystore configuration
 
- 
setEnabledSets whether or not a remote JMX Connector is enabled or not. If not enabled, the JMX MBeans will still be created against the Platform MBean server, but only local process access will be supported.By default this is set to false. - Parameters:
- enabled- true to enable JMX management
- Throws:
- ConfigException- if unable to set the property
 
- 
isEnabledboolean isEnabled()Whether or not the external JMX Connector is enabled or not.- Returns:
- true if enabled
 
 
-