@ConfigurationProperties(name="endpoints.jolokia", ignoreUnknownFields=false) public class JolokiaMvcEndpoint extends Object implements MvcEndpoint, InitializingBean, ApplicationContextAware
MvcEndpoint
to expose Jolokia.Constructor and Description |
---|
JolokiaMvcEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Class<? extends Endpoint> |
getEndpointType()
Return the type of
Endpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint . |
String |
getPath()
Return the MVC path of the endpoint.
|
ModelAndView |
handle(HttpServletRequest request,
HttpServletResponse response) |
boolean |
isEnabled() |
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
void |
setApplicationContext(ApplicationContext context) |
void |
setEnabled(boolean enabled) |
void |
setInitParameters(Properties initParameters) |
void |
setPath(String path) |
void |
setSensitive(boolean sensitive) |
void |
setServletContext(ServletContext servletContext) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void setServletContext(ServletContext servletContext)
public void setInitParameters(Properties initParameters)
public final void setApplicationContext(ApplicationContext context) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public boolean isEnabled()
public void setEnabled(boolean enabled)
public String getPath()
MvcEndpoint
getPath
in interface MvcEndpoint
public void setPath(String path)
public boolean isSensitive()
MvcEndpoint
isSensitive
in interface MvcEndpoint
public void setSensitive(boolean sensitive)
public Class<? extends Endpoint> getEndpointType()
MvcEndpoint
Endpoint
exposed, or null
if this
MvcEndpoint
exposes information that cannot be represented as a traditional
Endpoint
.getEndpointType
in interface MvcEndpoint
Copyright © 2014. All rights reserved.