|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.apama.epl.plugin.Context
public class Context
Class that holds a context reference and can be passed across the correlator EPL/Java plugin boundary. This class must only be used from an EPL Java Plugin (not from JMon).
Constructor Summary | |
---|---|
Context()
The default constructor. |
|
Context(Context other)
Copy constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object other)
|
static Context |
getCurrent()
Returns a reference to the context the plugin is currently being called from. |
long |
getId()
Equivalent to the EPL method getId on the context type |
java.lang.String |
getName()
Returns the name of the context. |
int |
hashCode()
|
boolean |
isPublic()
Returns true if the context is public (receives external / enqueued events) |
java.lang.String |
toString()
Returns a string representation of the context instance. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Context()
public Context(Context other)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public boolean isPublic()
public long getId()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Object.clone()
public static Context getCurrent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |