org.jboss.invocation
Class InvocationContext

java.lang.Object
  extended byorg.jboss.invocation.InvocationContext
All Implemented Interfaces:
java.io.Serializable

public class InvocationContext
extends java.lang.Object
implements java.io.Serializable

The Invocation Context

Describes the context in which this Invocation is being executed in the interceptors

The heart of it is the payload map that can contain anything we then put readers on them. The first "reader" is this "Invocation" object that can interpret the data in it.

Essentially we can carry ANYTHING from the client to the server, we keep a series of redifined variables and method calls to get at the pointers. But really it is just a repository of objects.

See Also:
Serialized Form

Field Summary
 java.util.Map context
           
 
Constructor Summary
InvocationContext()
          Exposed for externalization only.
InvocationContext(java.util.Map context)
          Invocation creation
 
Method Summary
 java.lang.Object getCacheId()
           
 Invoker (src) getInvoker()
           
 java.lang.String getInvokerProxyBinding()
           
 java.lang.Object getObjectName()
           
 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 (src)  invoker)
           
 void setInvokerProxyBinding(java.lang.String binding)
           
 void setObjectName(java.lang.Object objectName)
          A container for server side association.
 void setValue(java.lang.Object key, java.lang.Object value)
          The generic store of variables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

public java.util.Map context
Constructor Detail

InvocationContext

public InvocationContext()
Exposed for externalization only.


InvocationContext

public InvocationContext(java.util.Map context)
Invocation creation

Method Detail

setValue

public void setValue(java.lang.Object key,
                     java.lang.Object value)
The generic store of variables


getValue

public java.lang.Object getValue(java.lang.Object key)
Get a value from the stores.


setObjectName

public void setObjectName(java.lang.Object objectName)
A container for server side association.


getObjectName

public java.lang.Object getObjectName()

setCacheId

public void setCacheId(java.lang.Object id)
Return the invocation target ID. Can be used to identify a cached object.


getCacheId

public java.lang.Object getCacheId()

setInvoker

public void setInvoker(Invoker (src)  invoker)

getInvoker

public Invoker (src)  getInvoker()

setInvokerProxyBinding

public void setInvokerProxyBinding(java.lang.String binding)

getInvokerProxyBinding

public java.lang.String getInvokerProxyBinding()