Annotation Interface Notification
The Notification annotation provides a means for an MBean interface to
describe the notification it emits. This annotation is expected to be used
with
AnnotatedStandardEmitterMBean
.
An example of using this annotation is provided below:
@Notification("Example notifications", types = ExampleMBean.NOTIFY_TYPE)
class ExampleMBean {...}
- Since:
- Coherence 12.2.1
- Author:
- hr 2014.01.27
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionA description of the notification.String[]
The notification event types the MBean may emit. -
Optional Element Summary
-
Element Details
-
description
String descriptionA description of the notification.- Returns:
- a description of the notification
-
types
String[] typesThe notification event types the MBean may emit.- Returns:
- the notification event types the MBean may emit
-
className
String classNameThe fully qualified class name of the notification object the MBean may emit.- Returns:
- the fully qualified class name of the notification object the MBean may emit.
- Default:
"javax.management.Notification"
-