Package org.jolokia.jvmagent
Class JvmAgentConfig
java.lang.Object
org.jolokia.jvmagent.JolokiaServerConfig
org.jolokia.jvmagent.JvmAgentConfig
Holds all Http-Server and Jolokia configuration.
Default values are first loaded from the
default-jolokia-agent.properties
from the class path (top-level). All default values are defined within this file.- Since:
- 13.08.11
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionJvmAgentConfig(String pArgs) Constructor which also specifies whether initialization should be done lazy or notJvmAgentConfig(Map<String, String> pConfig) Constructor with a preparsed configuration -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe mode is 'stop' indicates that the server should be stopped when used in dynamic modeMethods inherited from class org.jolokia.jvmagent.JolokiaServerConfig
getAddress, getAuthenticator, getBacklog, getCaCert, getClassLoader, getClientPrincipals, getContextPath, getDefaultConfig, getExecutor, getExtendedClientCheck, getJolokiaConfig, getKeyManagerAlgorithm, getKeystore, getKeystorePassword, getKeyStoreType, getPort, getProtocol, getSecureSocketProtocol, getServerCert, getServerKey, getServerKeyAlgorithm, getSSLCipherSuites, getSSLProtocols, getThreadNamePrefix, getThreadNr, getTrustManagerAlgorithm, init, initAuthenticator, initConfigAndValidate, isLazy, readPropertiesFromInputStream, setClassLoader, updateHTTPSSettingsFromContext, useCertificateReload, useHttps, useSslClientAuthentication
-
Constructor Details
-
JvmAgentConfig
Constructor which also specifies whether initialization should be done lazy or not- Parameters:
pArgs- arguments as given on the command line
-
JvmAgentConfig
Constructor with a preparsed configuration- Parameters:
pConfig- config map with key value pairs
-
-
Method Details
-
isModeStop
public boolean isModeStop()The mode is 'stop' indicates that the server should be stopped when used in dynamic mode- Returns:
- the running mode
-