Annotation Type ManagedOperation


  • @Retention(CLASS)
    @Target(METHOD)
    public @interface ManagedOperation
    Indicates that a method in an MBean class defines an MBean operation. @ManagedOperation annotation can be applied to a public method of a public class that is itself optionally annotated with an @MBean annotation, or inherits such an annotation from a superclass.
    Since:
    4.0
    Author:
    (various)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description
      The human-readable description of the operation.
      java.lang.String displayName
      Similar with description() but shorter.
      java.lang.String name
      The name of the JMX operation.
    • Element Detail

      • name

        java.lang.String name
        The name of the JMX operation.
        Default:
        ""
      • description

        java.lang.String description
        The human-readable description of the operation.
        Default:
        ""
      • displayName

        java.lang.String displayName
        Similar with description() but shorter.
        Default:
        ""