spring-framework / org.springframework.context.support / LiveBeansViewMBean

LiveBeansViewMBean

interface LiveBeansViewMBean

MBean operation interface for the LiveBeansView feature.

Author
Juergen Hoeller

Since
3.2

Functions

getSnapshotAsJson

abstract fun getSnapshotAsJson(): String

Generate a JSON snapshot of current beans and their dependencies.

Inheritors

LiveBeansView

open class LiveBeansView : LiveBeansViewMBean, ApplicationContextAware

Adapter for live beans view exposure, building a snapshot of current beans and their dependencies from either a local ApplicationContext (with a local LiveBeansView bean definition) or all registered ApplicationContexts (driven by the {@value #MBEAN_DOMAIN_PROPERTY_NAME} environment property).

Note: This feature is still in beta and primarily designed for use with Spring Tool Suite 3.1 and higher.