Annotation Type ManagedResource


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Inherited
    @Documented
    public @interface 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.

    Since:
    1.2
    Author:
    Rob Harrop, Juergen Hoeller, Sam Brannen
    See Also:
    ManagedResource