Top Description Annotations Classes
module spring.context

Package org.springframework.jmx.export.annotation

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Annotations for MBean exposure.

Hooked into Spring's JMX export infrastructure via a special org.springframework.jmx.export.metadata.JmxAttributeSource implementation.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
ManagedAttribute

Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the org.springframework.jmx.export.metadata.ManagedAttribute.

public @interface
ManagedMetric

Method-level annotation that indicates to expose a given bean property as a JMX attribute, with added descriptor properties to indicate that it is a metric.

public @interface
ManagedNotification

Type-level annotation that indicates a JMX notification emitted by a bean.

public @interface
ManagedNotifications

Type-level annotation used as a container for one or more @ManagedNotification declarations.

public @interface
ManagedOperation

Method-level annotation that indicates to expose a given method as a JMX operation, corresponding to the org.springframework.jmx.export.metadata.ManagedOperation attribute.

public @interface
ManagedOperationParameter

Method-level annotation used to provide metadata about operation parameters, corresponding to a org.springframework.jmx.export.metadata.ManagedOperationParameter attribute.

public @interface
ManagedOperationParameters

Method-level annotation used as a container for one or more @ManagedOperationParameter declarations.

public @interface
ManagedResource

Class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the org.springframework.jmx.export.metadata.ManagedResource attribute.

Class Summary

Modifier and TypeClass and Description
public class
AnnotationJmxAttributeSource

Implementation of the JmxAttributeSource interface that reads annotations and exposes the corresponding attributes.

public class
AnnotationMBeanExporter

Convenient subclass of Spring's standard MBeanExporter, activating annotation usage for JMX exposure of Spring beans: ManagedResource, ManagedAttribute, ManagedOperation, etc.

Sets a MetadataNamingStrategy and a MetadataMBeanInfoAssembler with an AnnotationJmxAttributeSource, and activates autodetection by default.