Package org.apache.commons.modeler
Class BaseNotification
- java.lang.Object
-
- java.util.EventObject
-
- javax.management.Notification
-
- org.apache.commons.modeler.BaseNotification
-
- All Implemented Interfaces:
Serializable
public final class BaseNotification extends Notification
Base JMX Notification. Supports in int code and notes - for faster access and dispatching.- Author:
- Costin Manolache
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Action id, useable in switches and table indexesObject
getNote(int i)
void
init(String type, Object source, long seq, long tstamp, int code)
void
recycle()
void
setNote(int i, Object o)
-
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
-
Methods inherited from class java.util.EventObject
getSource
-
-