@Configuration @ConditionalOnWebApplication @ConditionalOnClass(value=org.jolokia.http.AgentServlet.class) @EnableConfigurationProperties(value=JolokiaProperties.class) public class JolokiaAutoConfiguration extends Object
Auto-configuration
for embedding Jolokia, a JMX-HTTP
bridge giving an alternative to JSR-160 connectors.
This configuration will get automatically enabled as soon as the Jolokia
AgentServlet
is on the classpath. To disable it set
endpoints.jolokia.enabled: false
or endpoints.enabled: false
.
Additional configuration parameters for Jolokia can be provided by specifying
jolokia.config.*
properties. See the
http://jolokia.org web site for more information on
supported configuration parameters.
Constructor and Description |
---|
JolokiaAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
JolokiaMvcEndpoint |
jolokiaEndpoint() |
@Bean @ConditionalOnMissingBean public JolokiaMvcEndpoint jolokiaEndpoint()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.