spring-framework / org.springframework.web.context.support / ServletContextLiveBeansView

ServletContextLiveBeansView

open class ServletContextLiveBeansView : LiveBeansView

LiveBeansView subclass which looks for all ApplicationContexts in the web application, as exposed in ServletContext attributes.

Author
Juergen Hoeller

Since
3.2

Constructors

<init>

ServletContextLiveBeansView(servletContext: ServletContext)

Create a new LiveBeansView for the given ServletContext.

Inherited Properties

MBEAN_APPLICATION_KEY

static val MBEAN_APPLICATION_KEY: String

MBEAN_DOMAIN_PROPERTY_NAME

static val MBEAN_DOMAIN_PROPERTY_NAME: String

Inherited Functions

getSnapshotAsJson

open fun getSnapshotAsJson(): String

Generate a JSON snapshot of current beans and their dependencies, finding all active ApplicationContexts through #findApplicationContexts(), then delegating to #generateJson(java.util.Set).

setApplicationContext

open fun setApplicationContext(applicationContext: ApplicationContext): Unit