@Deprecated public class ServletContextLiveBeansView extends LiveBeansView
LiveBeansView subclass
which looks for all ApplicationContexts in the web application,
as exposed in ServletContext attributes.MBEAN_APPLICATION_KEY, MBEAN_DOMAIN_PROPERTY_NAME| Constructor and Description |
|---|
ServletContextLiveBeansView(ServletContext servletContext)
Deprecated.
Create a new LiveBeansView for the given ServletContext.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<ConfigurableApplicationContext> |
findApplicationContexts()
Deprecated.
Find all applicable ApplicationContexts for the current application.
|
generateJson, getEscapedResourceDescription, getSnapshotAsJson, isBeanEligible, setApplicationContextpublic ServletContextLiveBeansView(ServletContext servletContext)
servletContext - current ServletContextprotected Set<ConfigurableApplicationContext> findApplicationContexts()
LiveBeansViewCalled if no specific ApplicationContext has been set for this LiveBeansView.
findApplicationContexts in class LiveBeansView