Annotation Interface MBeanNotif


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface MBeanNotif
Used to annotate MBean interfaces with a meaningful descritpion of the notifications they emit. This description can then be retrieved at runtime.
Author:
Laurent Cohen
  • Element Details

    • description

      @DescriptorKey("mbean.notif.description") String description
      Returns:
      the description for the mbean notification.
      Default:
      ""
    • notifClass

      @DescriptorKey("mbean.notif.class") Class<?> notifClass
      Returns:
      the description for the mbean notification.
      Default:
      javax.management.Notification.class
    • userDataType

      @DescriptorKey("mbean.notif.user.data.class") Class<?> userDataType
      Returns:
      the expected type of the notification's user dtaa.
      Default:
      java.lang.Object.class
    • userDataDescritpion

      @DescriptorKey("mbean.notif.user.data.description") String userDataDescritpion
      Returns:
      the description for the mbean notification's user data.
      Default:
      ""