@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Notification
AnnotatedStandardEmitterMBean
.
An example of using this annotation is provided below:
@Notification("Example notifications", types = ExampleMBean.NOTIFY_TYPE)
class ExampleMBean {...}
AnnotatedStandardEmitterMBean
Modifier and Type | Required Element and Description |
---|---|
String |
description
A description of the notification.
|
String[] |
types
The notification event types the MBean may emit.
|
public abstract String description
public abstract String[] types
public abstract String className