@ConfigurationProperties(prefix="endpoints.jolokia", ignoreUnknownFields=false) public class JolokiaMvcEndpoint extends Object implements MvcEndpoint, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware
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.
|
org.springframework.web.servlet.ModelAndView |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
isEnabled() |
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
void |
setEnabled(boolean enabled) |
void |
setInitParameters(Properties initParameters) |
void |
setPath(String path) |
void |
setSensitive(boolean sensitive) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwarepublic void setInitParameters(Properties initParameters)
public final void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic boolean isEnabled()
public void setEnabled(boolean enabled)
public String getPath()
MvcEndpointgetPath in interface MvcEndpointpublic void setPath(String path)
public boolean isSensitive()
MvcEndpointisSensitive in interface MvcEndpointpublic void setSensitive(boolean sensitive)
public Class<? extends Endpoint> getEndpointType()
MvcEndpointEndpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint.getEndpointType in interface MvcEndpointCopyright © 2014 Pivotal Software, Inc.. All rights reserved.