|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.kernel.plugins.event.AbstractEvent
Abstract Event.
Field Summary | |
protected Object |
context
The context |
protected long |
sequence
The sequence |
protected Object |
source
The source |
protected long |
timestamp
The timestamp |
protected String |
type
The type |
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Constructor Summary | |
AbstractEvent(Object source,
String type,
long sequence,
long timestamp,
Object context)
Create a new abstract event |
Method Summary | |
Object |
getContext()
Get the context |
long |
getSequence()
Get the sequence |
Object |
getSource()
Get the source of the event |
long |
getTimestamp()
Get the timestamp |
String |
getType()
Get the event type |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Object source
protected String type
protected long sequence
protected long timestamp
protected Object context
Constructor Detail |
public AbstractEvent(Object source, String type, long sequence, long timestamp, Object context)
source
- the sourcetype
- the typesequence
- the sequeuncetimestamp
- the timestampcontext
- the contextMethod Detail |
public Object getContext()
KernelEvent
getContext
in interface KernelEvent
public long getSequence()
KernelEvent
getSequence
in interface KernelEvent
public Object getSource()
KernelEvent
getSource
in interface KernelEvent
public long getTimestamp()
KernelEvent
getTimestamp
in interface KernelEvent
public String getType()
KernelEvent
getType
in interface KernelEvent
public void toString(org.jboss.util.JBossStringBuilder buffer)
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |