Uses of Class
org.openejb.core.ThreadContext

Packages that use ThreadContext
org.openejb.alt.containers.castor_cmp11 The classes and interfaces directly under this package define the basic parts of the Castor CMP 1.1 implementation. 
org.openejb.core The core classes of the container system implementing the interfaces defined by the OpenEJB container system architecture. 
org.openejb.core.entity The core classes of the container system implementing the interfaces defined by the OpenEJB container system architecture. 
org.openejb.core.stateful The core classes of the container system implementing the interfaces defined by the OpenEJB container system architecture. 
org.openejb.core.stateless The core classes of the container system implementing the interfaces defined by the OpenEJB container system architecture. 
org.openejb.core.transaction The core classes of the container system implementing the interfaces defined by the OpenEJB container system architecture. 
 

Uses of ThreadContext in org.openejb.alt.containers.castor_cmp11
 

Methods in org.openejb.alt.containers.castor_cmp11 with parameters of type ThreadContext
protected  java.lang.Object CastorCMP11_EntityContainer.businessMethod(java.lang.reflect.Method callMethod, java.lang.reflect.Method runMethod, java.lang.Object[] args, ThreadContext callContext)
          Processes a business method invokation
protected  ProxyInfo CastorCMP11_EntityContainer.createEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
          This method is responsible for delegating the ejbCreate() and ejbPostCreate() methods on the an entity bean.
 void CastorCMP11_EntityContainer.discardInstance(javax.ejb.EnterpriseBean bean, ThreadContext threadContext)
          Discards this instance so that it may be garbage collected
protected  javax.ejb.EntityBean CastorCMP11_EntityContainer.fetchAndLoadBean(ThreadContext callContext, org.exolab.castor.jdo.Database db)
          This method is responsible for loading the bean from the database based on the primary key identity contained in the callContext parameter.
 javax.ejb.EntityBean CastorCMP11_EntityContainer.fetchFreeInstance(ThreadContext callContext)
          Obtains a bean instance from the method ready pool.
protected  java.lang.Object CastorCMP11_EntityContainer.findEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
          This method is used to execute the find methods which are considered global in scope.
protected  org.exolab.castor.jdo.Database CastorCMP11_EntityContainer.getDatabase(ThreadContext callContext)
          If their is no transaction the CastorTransactionScopeManager.begin() method would have set the unspecified value of the ThreadContext to a non-transaction managed database object.
protected  void CastorCMP11_EntityContainer.removeEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
          Removes the EJBObject
 

Uses of ThreadContext in org.openejb.core
 

Methods in org.openejb.core that return ThreadContext
static ThreadContext ThreadContext.getThreadContext()
           
protected static ThreadContext ThreadContext.newThreadContext()
           
 

Methods in org.openejb.core with parameters of type ThreadContext
 void RpcContainerWrapper.discardInstance(javax.ejb.EnterpriseBean instance, ThreadContext context)
           
static void ThreadContext.setThreadContext(ThreadContext tc)
           
 

Uses of ThreadContext in org.openejb.core.entity
 

Methods in org.openejb.core.entity with parameters of type ThreadContext
protected  ProxyInfo EntityContainer.createEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
           
protected  void EntityContainer.didCreateBean(ThreadContext callContext, javax.ejb.EntityBean bean)
           
protected  void EntityContainer.didRemove(javax.ejb.EntityBean bean, ThreadContext callContext)
           
 void EntityContainer.discardInstance(javax.ejb.EnterpriseBean bean, ThreadContext threadContext)
           
 void EntityInstanceManager.discardInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
          An instance is freed if a EJBException or some other runtime exception occurs.
 void EntityContainer.ejbLoad_If_No_Transaction(ThreadContext callContext, javax.ejb.EntityBean bean)
          If a business method or remove method is called without a transaction context the ejbLoad method must be invoked before the call is serviced.
 void EntityContainer.ejbStore_If_No_Transaction(ThreadContext callContext, javax.ejb.EntityBean bean)
          If a business method is called without a transaction context the ejbStore method must be invoked after the call is serviced.
protected  java.lang.Object EntityContainer.findMethod(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
          This method is used to execute the find methods which are considered global in scope.
 void EntityInstanceManager.freeInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
          Should be called when an instance is simply removed from the pool Calls unsetEntityContext in the instance.
protected  javax.ejb.EntityBean EntityInstanceManager.getPooledInstance(ThreadContext callContext)
          Obtains a bean instance from the proper bean pool.
protected  java.lang.Object EntityContainer.homeMethod(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
          This method is used to execute the home methods which are considered global in scope.
protected  java.lang.Object EntityContainer.invoke(java.lang.reflect.Method callMethod, java.lang.reflect.Method runMethod, java.lang.Object[] args, ThreadContext callContext)
           
protected  void EntityInstanceManager.loadingBean(javax.ejb.EntityBean bean, ThreadContext callContext)
          called prior to invoking ejbLoad on the bean.
 javax.ejb.EntityBean EntityInstanceManager.obtainInstance(ThreadContext callContext)
          Obtains a bean instance from the either the method ready pool or the Tx method ready pool.
 void EntityInstanceManager.poolInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
          Returns a bean instance to the method ready or tx method ready pool.
protected  void EntityContainer.removeEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
           
protected  void EntityInstanceManager.reusingBean(javax.ejb.EntityBean bean, ThreadContext callContext)
           
 

Constructors in org.openejb.core.entity with parameters of type ThreadContext
EntityInstanceManager.SyncronizationWrapper(javax.ejb.EntityBean ebean, EntityInstanceManager.Key key, boolean available, ThreadContext ctx)
           
 

Uses of ThreadContext in org.openejb.core.stateful
 

Methods in org.openejb.core.stateful with parameters of type ThreadContext
protected  ProxyInfo StatefulContainer.createEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
           
 void StatefulContainer.discardInstance(javax.ejb.EnterpriseBean bean, ThreadContext threadContext)
           
protected  void SessionSynchronizationCoordinator.discardInstance(StatefulInstanceManager instanceManager, ThreadContext callContext)
           
protected  void StatefulInstanceManager.handleCallbackException(java.lang.Throwable e, javax.ejb.EnterpriseBean instance, ThreadContext callContext, java.lang.String callBack)
           
protected  void StatefulInstanceManager.handleTimeout(BeanEntry entry, ThreadContext thrdCntx)
           
protected  java.lang.Object StatefulContainer.invoke(java.lang.reflect.Method callMethod, java.lang.reflect.Method runMethod, java.lang.Object[] args, javax.ejb.EnterpriseBean bean, ThreadContext callContext)
           
 javax.ejb.SessionBean StatefulInstanceManager.obtainInstance(java.lang.Object primaryKey, ThreadContext callContext)
          Gets a previously instantiated instance of the bean class with the specified primaryKey
protected  void StatefulContainer.removeEJBObject(java.lang.reflect.Method callMethod, java.lang.Object[] args, ThreadContext callContext)
           
 

Uses of ThreadContext in org.openejb.core.stateless
 

Methods in org.openejb.core.stateless with parameters of type ThreadContext
 void StatelessContainer.discardInstance(javax.ejb.EnterpriseBean instance, ThreadContext context)
           
 void StatelessInstanceManager.discardInstance(ThreadContext callContext, javax.ejb.EnterpriseBean bean)
          This methods cleans up benas that threw a system exception.
 void StatelessInstanceManager.freeInstance(ThreadContext callContext, javax.ejb.EnterpriseBean bean)
           
 javax.ejb.EnterpriseBean StatelessInstanceManager.getInstance(ThreadContext callContext)
           
protected  java.lang.Object StatelessContainer.invoke(java.lang.reflect.Method callMethod, java.lang.reflect.Method runMethod, java.lang.Object[] args, javax.ejb.EnterpriseBean bean, ThreadContext callContext)
           
 void StatelessInstanceManager.poolInstance(ThreadContext callContext, javax.ejb.EnterpriseBean bean)
           
 

Uses of ThreadContext in org.openejb.core.transaction
 

Fields in org.openejb.core.transaction declared as ThreadContext
 ThreadContext TransactionContext.callContext
           
 

Methods in org.openejb.core.transaction with parameters of type ThreadContext
protected  void TransactionPolicy.discardBeanInstance(javax.ejb.EnterpriseBean instance, ThreadContext callContext)
           
 void TransactionContainer.discardInstance(javax.ejb.EnterpriseBean instance, ThreadContext context)
           
 

Constructors in org.openejb.core.transaction with parameters of type ThreadContext
TransactionContext(ThreadContext callContext)
           
 



Copyright © 1999-2011 OpenEJB. All Rights Reserved.