org.apache.commons.modeler

Class BaseNotification

public final class BaseNotification extends Notification

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

Author: Costin Manolache

Method Summary
intgetCode()
Action id, useable in switches and table indexes
ObjectgetNote(int i)
voidinit(String type, Object source, long seq, long tstamp, int code)
voidrecycle()
voidsetNote(int i, Object o)

Method Detail

getCode

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

getNote

public final Object getNote(int i)

init

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

recycle

public void recycle()

setNote

public final void setNote(int i, Object o)
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.