org.apache.commons.modeler
Class BaseNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by org.apache.commons.modeler.BaseNotification
All Implemented Interfaces:
java.io.Serializable

public final class BaseNotification
extends javax.management.Notification

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

Author:
Costin Manolache
See Also:
Serialized Form

Method Summary
 int getCode()
          Action id, useable in switches and table indexes
 java.lang.Object getNote(int i)
           
 void init(java.lang.String type, java.lang.Object source, long seq, long tstamp, int code)
           
 void recycle()
           
 void setNote(int i, java.lang.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
 
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(java.lang.String type,
                 java.lang.Object source,
                 long seq,
                 long tstamp,
                 int code)

getCode

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


getNote

public final java.lang.Object getNote(int i)

setNote

public final void setNote(int i,
                          java.lang.Object o)


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.