org.jsesoft.mmbi
Annotation Type JMXNotification


@Documented
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD,CONSTRUCTOR})
public @interface JMXNotification

Provides additional JMX notification information for JMX Model MBean Instrumentation.

The information provided for classes, constructors, and methods with this annotation is used by the ModelMBeanInstrumentor for instrumenting an instance of the class as Model MBean, especially for the creation of the ModelMBeanNotificationInfo and its descriptor.

Version:
1.0
Author:
JSESoft

Required Element Summary
 java.lang.String[] types
          Specifies the types of the notification.
 
Optional Element Summary
 java.lang.String description
          Specifies the description of the notification.
 java.lang.String displayName
          Specifies the displayName of the notification.
 java.lang.String name
          Specifies the name of the notification.
 int severity
          Specifies the severity of the notification.
 

Element Detail

types

public abstract java.lang.String[] types
Specifies the types of the notification.

Returns:
the notification's types

name

public abstract java.lang.String name
Specifies the name of the notification.

Returns:
the notification's name
Default:
"javax.management.Notification"

displayName

public abstract java.lang.String displayName
Specifies the displayName of the notification.

Returns:
the notification's displayName
Default:
"unknown"

description

public abstract java.lang.String description
Specifies the description of the notification.

Returns:
the notification's description
Default:
"unknown notification"

severity

public abstract int severity
Specifies the severity of the notification.

Returns:
the notification's severity
Default:
3


Copyright © 2010 JSESoft. All Rights Reserved.