|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.huihoo.jfox.ejb.naming.server.InvocationContext
| Field Summary | |
static java.lang.Integer |
CACHE_ID
The invoker |
java.util.Map |
context
Context is a map |
static java.lang.Integer |
CREDENTIAL
We can keep a reference to an abstract "container" |
static java.lang.Integer |
INVOKER
|
static java.lang.Integer |
JMX_NAME
The Cache-ID associates an instance in cache somewhere on the server with this invocation |
static java.lang.Integer |
PRINCIPAL
We are using the generic payload to store some of our data, we define some integer entries. |
| Constructor Summary | |
InvocationContext()
Exposed for externalization only. |
|
InvocationContext(java.util.Map context)
Invocation creation |
|
| Method Summary | |
java.lang.Object |
getCacheId()
|
Invoker |
getInvoker()
|
java.lang.String |
getJmxName()
|
java.lang.Object |
getValue(java.lang.Object key)
Get a value from the stores |
void |
setCacheId(java.lang.Object id)
Return the invocation target ID. |
void |
setInvoker(Invoker invoker)
|
void |
setJmxName(java.lang.String objectName)
A container for server side association |
void |
setValue(java.lang.Object key,
java.lang.Object value)
The generic getter and setter is really all that one needs to talk to this object We introduce typed getters and setters for convenience and code readability in the codebase The generic store of variables |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.Integer PRINCIPAL
public static final java.lang.Integer CREDENTIAL
public static final java.lang.Integer JMX_NAME
public static final java.lang.Integer CACHE_ID
public static final java.lang.Integer INVOKER
public java.util.Map context
| Constructor Detail |
public InvocationContext()
public InvocationContext(java.util.Map context)
context - | Method Detail |
public void setValue(java.lang.Object key,
java.lang.Object value)
key - value - public java.lang.Object getValue(java.lang.Object key)
key -
public void setJmxName(java.lang.String objectName)
objectName - public java.lang.String getJmxName()
public void setCacheId(java.lang.Object id)
id - public java.lang.Object getCacheId()
public void setInvoker(Invoker invoker)
invoker - public Invoker getInvoker()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||