|
||||||||||
| 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
public class 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 context| Method Detail |
|---|
public Object getContext()
KernelEvent
getContext in interface KernelEventpublic long getSequence()
KernelEvent
getSequence in interface KernelEventpublic Object getSource()
KernelEvent
getSource in interface KernelEventpublic long getTimestamp()
KernelEvent
getTimestamp in interface KernelEventpublic String getType()
KernelEvent
getType in interface KernelEventpublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||