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 javax.management.Notification

Base JMX Notification. Supports in int code and notes - for faster access and dispatching.

See Also:
Serialized Form

Fields inherited from class javax.management.Notification
source
 
Method Summary
 int getCode()
          Action id, useable in switches and table indexes
 Object 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, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

recycle

public void recycle()

init

public void init(String type,
                 Object source,
                 long seq,
                 long tstamp,
                 int code)

getCode

public int getCode()
Action id, useable in switches and table indexes

getNote

public final Object getNote(int i)

setNote

public final void setNote(int i,
                          Object o)


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.