org.openejb.server.ejbd
Class CallContext

java.lang.Object
  extended byorg.openejb.server.ejbd.CallContext

public class CallContext
extends Object

TODO: Add comment


Field Summary
protected  EJBContainer container
          The container of the bean executed
protected  EJBRequest request
          The EJBRequest object from the client
protected static FastThreadLocal threads
          Hashtable of threads executing in this server
 
Constructor Summary
CallContext()
          Constructs a new CallContext
 
Method Summary
static CallContext getCallContext()
          Gets the CallContext assigned to the current thread
 EJBContainer getContainer()
          Returns the EJBContainer assigned to this CallContext
 EJBRequest getEJBRequest()
          Returns the EJBRequest this thread is satisfying.
 void reset()
          Invalidates the data in this CallContext
static void setCallContext(CallContext ctx)
          Sets the CallContext assigned to the current thread with the CallContext instance passed in
 void setContainer(EJBContainer container)
          Sets the EJBContainer assigned to this CallContext
 void setEJBRequest(EJBRequest request)
          Sets the EJBRequest this thread is satisfying.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

threads

protected static FastThreadLocal threads
Hashtable of threads executing in this server


container

protected EJBContainer container
The container of the bean executed


request

protected EJBRequest request
The EJBRequest object from the client

Constructor Detail

CallContext

public CallContext()
Constructs a new CallContext

Method Detail

reset

public void reset()
Invalidates the data in this CallContext


getContainer

public EJBContainer getContainer()
Returns the EJBContainer assigned to this CallContext

Returns:

setContainer

public void setContainer(EJBContainer container)
Sets the EJBContainer assigned to this CallContext


getEJBRequest

public EJBRequest getEJBRequest()
Returns the EJBRequest this thread is satisfying.

Returns:

setEJBRequest

public void setEJBRequest(EJBRequest request)
Sets the EJBRequest this thread is satisfying.

Parameters:
request -

setCallContext

public static void setCallContext(CallContext ctx)
Sets the CallContext assigned to the current thread with the CallContext instance passed in

Parameters:
ctx -

getCallContext

public static CallContext getCallContext()
Gets the CallContext assigned to the current thread

Returns:


Copyright © 1999-2006 OpenEJB. All Rights Reserved.