public class SpringJolokiaAgent extends JolokiaServer implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
SpringJolokiaAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Callback used for initializing and optionally starting up the server
|
void |
destroy()
Stop the server
|
void |
setApplicationContext(org.springframework.context.ApplicationContext pContext)
Look for the appropriate configuration, merge multiple ones if given and start up
the Jolokia Server if lookupConfig is true
|
void |
setConfig(SpringJolokiaConfigHolder pConfig)
Set the configuration which is used, if no other configuration options are given
|
void |
setId(String pId)
Set spring context id, required because an ID can be given.
|
void |
setLookupConfig(boolean pLookupConfig)
Whether to lookup dynamically configs in the application context after creation
of this bean.
|
void |
setSystemPropertiesMode(String pMode)
Set the system propert mode for how to deal with configuration coming from system properties
|
getAddress, getServerConfig, getUrl, init, init, start, stoppublic void afterPropertiesSet()
throws IOException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanIOExceptionpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic void setConfig(SpringJolokiaConfigHolder pConfig)
pConfig - configuration to usepublic void setLookupConfig(boolean pLookupConfig)
pLookupConfig - whether to lookup configuration dynamically. Default is false.public void setApplicationContext(org.springframework.context.ApplicationContext pContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepContext - spring context containing the bean definitionpublic void setSystemPropertiesMode(String pMode)
public void setId(String pId)
pId - id to setCopyright © 2022. All rights reserved.