public class JvmAgentConfig extends JolokiaServerConfig
default-jolokia-agent.properties
from the class path (top-level). All default values are defined within this file.| Constructor and Description |
|---|
JvmAgentConfig(Map<String,String> pConfig)
Constructor with a preparsed configuration
|
JvmAgentConfig(String pArgs)
Constructor which parser an agent argument string
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
getDefaultConfig(Map<String,String> pConfig)
Beside reading the default configuration from an internal property file,
also add extra configuration given in an external properties where the path
to this property file is given under the key "config"
|
protected void |
init(Map<String,String> pConfig)
Initialize the configuration with the given map
|
boolean |
isModeStop()
The mode is 'stop' indicates that the server should be stopped when used in dynamic mode
|
getAddress, getAuthenticator, getBacklog, getContextPath, getExecutor, getJolokiaConfig, getKeyManagerAlgorithm, getKeystore, getKeystorePassword, getKeyStoreType, getPort, getProtocol, getSecureSocketProtocol, getThreadNr, getTrustManagerAlgorithm, initConfigAndValidate, prepareDetectorOptions, readPropertiesFromInputStream, useSslClientAuthenticationpublic JvmAgentConfig(String pArgs)
pArgs - arguments glued together as provided on the commandline
for an agent parameterprotected void init(Map<String,String> pConfig)
JolokiaServerConfiginit in class JolokiaServerConfigpConfig - map holding the configuration in string representation. A reference to the map will be keptpublic boolean isModeStop()
protected Map<String,String> getDefaultConfig(Map<String,String> pConfig)
getDefaultConfig in class JolokiaServerConfigpConfig - the configuration provided during constructionCopyright © 2015. All rights reserved.