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, getCaCert, getClientPrincipals, getContextPath, getExecutor, getExtendedClientCheck, getJolokiaConfig, getKeyManagerAlgorithm, getKeystore, getKeystorePassword, getKeyStoreType, getPort, getProtocol, getSecureSocketProtocol, getServerCert, getServerKey, getServerKeyAlgorithm, getSSLCipherSuites, getSSLProtocols, getThreadNamePrefix, getThreadNr, getTrustManagerAlgorithm, initConfigAndValidate, prepareDetectorOptions, readPropertiesFromInputStream, updateHTTPSSettingsFromContext, useHttps, useSslClientAuthentication
public JvmAgentConfig(String pArgs)
pArgs
- arguments glued together as provided on the commandline
for an agent parameterprotected void init(Map<String,String> pConfig)
JolokiaServerConfig
init
in class JolokiaServerConfig
pConfig
- 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 JolokiaServerConfig
pConfig
- the configuration provided during constructionCopyright © 2019. All rights reserved.