spring-framework / org.springframework.jmx.export.annotation

Package org.springframework.jmx.export.annotation

Types

AnnotationJmxAttributeSource

open class AnnotationJmxAttributeSource : JmxAttributeSource, BeanFactoryAware

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

Annotations

ManagedAttribute

class ManagedAttribute

Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the ManagedAttribute attribute. Only valid when used on a JavaBean getter or setter.

ManagedMetric

class 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. Only valid when used on a JavaBean getter.

ManagedNotifications

class ManagedNotifications

Type-level annotation that indicates JMX notifications emitted by a bean, containing multiple ManagedNotification.

ManagedOperation

class ManagedOperation

Method-level annotation that indicates to expose a given method as a JMX operation, corresponding to the ManagedOperation attribute. Only valid when used on a method that is not a JavaBean getter or setter.

ManagedOperationParameters

class ManagedOperationParameters

Method-level annotation used to provide metadata about operation parameters, corresponding to an array of ManagedOperationParameter attributes.

ManagedResource

class ManagedResource

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

Note: This annotation is marked as inherited, allowing for generic management-aware base classes. In such a scenario, it is recommended to not specify an object name value since this would lead to naming collisions in case of multiple subclasses getting registered.