Class JolokiaServletAutoConfiguration
java.lang.Object
org.jolokia.support.spring.actuator.JolokiaServletAutoConfiguration
@ManagementContextConfiguration(ANY)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(org.jolokia.server.core.http.AgentServlet.class)
@ConditionalOnAvailableEndpoint(endpoint=JolokiaWebEndpoint.class,
exposure=WEB)
@EnableConfigurationProperties(JolokiaProperties.class)
public class JolokiaServletAutoConfiguration
extends Object
This autoconfiguration is for "management context" and provides a
Jolokia Servlet registration
Bean that simply calls ServletContext.addServlet(java.lang.String, java.lang.String).
This is generic configuration whether or not the management context is separate from main context.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjolokiaServletRegistration(JolokiaProperties properties, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties, org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath dispatcherServletPath)
-
Constructor Details
-
JolokiaServletAutoConfiguration
public JolokiaServletAutoConfiguration()
-
-
Method Details
-
jolokiaServletRegistration
@Bean public JolokiaServletRegistration jolokiaServletRegistration(JolokiaProperties properties, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties, org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath dispatcherServletPath)
-