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
 void CastorCMP11_EntityContainer.discardInstance(javax.ejb.EnterpriseBean bean, ThreadContext threadContext)
          Discards this instance so that it may be garbage collected
 javax.ejb.EntityBean CastorCMP11_EntityContainer.fetchFreeInstance(ThreadContext callContext)
          Obtains a bean instance from the method ready pool.
protected  Object CastorCMP11_EntityContainer.businessMethod(Method callMethod, Method runMethod, Object[] args, ThreadContext callContext)
          Processes a business method invokation
protected  ProxyInfo CastorCMP11_EntityContainer.createEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
          This method is responsible for delegating the ejbCreate() and ejbPostCreate() methods on the an entity bean.
protected  Object CastorCMP11_EntityContainer.findEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
          This method is used to execute the find methods which are considered global in scope.
protected  void CastorCMP11_EntityContainer.removeEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
          Removes the EJBObject
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.
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.
 

Uses of ThreadContext in org.openejb.core
 

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

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

Uses of ThreadContext in org.openejb.core.entity
 

Methods in org.openejb.core.entity with parameters of type ThreadContext
protected  Object EntityContainer.invoke(Method callMethod, Method runMethod, Object[] args, ThreadContext callContext)
           
 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  void EntityContainer.didCreateBean(ThreadContext callContext, javax.ejb.EntityBean bean)
           
protected  ProxyInfo EntityContainer.createEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
           
protected  Object EntityContainer.findMethod(Method callMethod, Object[] args, ThreadContext callContext)
          This method is used to execute the find methods which are considered global in scope.
protected  Object EntityContainer.homeMethod(Method callMethod, Object[] args, ThreadContext callContext)
          This method is used to execute the home methods which are considered global in scope.
protected  void EntityContainer.didRemove(javax.ejb.EntityBean bean, ThreadContext callContext)
           
protected  void EntityContainer.removeEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
           
 void EntityContainer.discardInstance(javax.ejb.EnterpriseBean bean, ThreadContext threadContext)
           
 javax.ejb.EntityBean EntityInstanceManager.obtainInstance(ThreadContext callContext)
          Obtains a bean instance from the either the method ready pool or the Tx method ready pool.
protected  void EntityInstanceManager.loadingBean(javax.ejb.EntityBean bean, ThreadContext callContext)
          called prior to invoking ejbLoad on the bean.
protected  void EntityInstanceManager.reusingBean(javax.ejb.EntityBean bean, ThreadContext callContext)
           
protected  javax.ejb.EntityBean EntityInstanceManager.getPooledInstance(ThreadContext callContext)
          Obtains a bean instance from the proper bean pool.
 void EntityInstanceManager.poolInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
          Returns a bean instance to the method ready or tx method ready pool.
 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.
 void EntityInstanceManager.discardInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
          An instance is freed if a EJBException or some other runtime exception occurs.
 

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  void SessionSynchronizationCoordinator.discardInstance(StatefulInstanceManager instanceManager, ThreadContext callContext)
           
 javax.ejb.SessionBean StatefulInstanceManager.obtainInstance(Object primaryKey, ThreadContext callContext)
          Gets a previously instantiated instance of the bean class with the specified primaryKey
protected  void StatefulInstanceManager.handleTimeout(BeanEntry entry, ThreadContext thrdCntx)
           
protected  void StatefulInstanceManager.handleCallbackException(Throwable e, javax.ejb.EnterpriseBean instance, ThreadContext callContext, String callBack)
           
protected  Object StatefulContainer.invoke(Method callMethod, Method runMethod, Object[] args, javax.ejb.EnterpriseBean bean, ThreadContext callContext)
           
protected  void StatefulContainer.removeEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
           
protected  ProxyInfo StatefulContainer.createEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
           
 void StatefulContainer.discardInstance(javax.ejb.EnterpriseBean bean, ThreadContext threadContext)
           
 

Uses of ThreadContext in org.openejb.core.stateless
 

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

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-2007 OpenEJB. All Rights Reserved.