Uses of Class
org.apache.openejb.core.ThreadContext

Packages that use ThreadContext
org.apache.openejb.core   
org.apache.openejb.core.cmp   
org.apache.openejb.core.cmp.jpa   
org.apache.openejb.core.entity   
org.apache.openejb.core.security   
org.apache.openejb.core.singleton   
org.apache.openejb.core.stateless   
org.apache.openejb.core.transaction   
 

Uses of ThreadContext in org.apache.openejb.core
 

Methods in org.apache.openejb.core that return ThreadContext
static ThreadContext ThreadContext.enter(ThreadContext newContext)
           
static ThreadContext ThreadContext.getThreadContext()
           
 

Methods in org.apache.openejb.core with parameters of type ThreadContext
 void ThreadContextListener.contextEntered(ThreadContext oldContext, ThreadContext newContext)
          A new context has been entered.
 void ThreadContextListener.contextExited(ThreadContext exitedContext, ThreadContext reenteredContext)
          A context has exited.
static ThreadContext ThreadContext.enter(ThreadContext newContext)
           
static void ThreadContext.exit(ThreadContext oldContext)
           
 

Constructors in org.apache.openejb.core with parameters of type ThreadContext
ThreadContext(ThreadContext that)
           
 

Uses of ThreadContext in org.apache.openejb.core.cmp
 

Methods in org.apache.openejb.core.cmp with parameters of type ThreadContext
 Object CmpEngine.createBean(javax.ejb.EntityBean entity, ThreadContext callContext)
           
 Object CmpEngine.loadBean(ThreadContext callContext, Object primaryKey)
           
 List<Object> CmpEngine.queryBeans(ThreadContext callContext, Method queryMethod, Object[] args)
           
 void CmpEngine.removeBean(ThreadContext callContext)
           
 void CmpEngine.storeBeanIfNoTx(ThreadContext callContext, Object bean)
           
 

Uses of ThreadContext in org.apache.openejb.core.cmp.jpa
 

Methods in org.apache.openejb.core.cmp.jpa with parameters of type ThreadContext
 Object JpaCmpEngine.createBean(javax.ejb.EntityBean bean, ThreadContext callContext)
           
 Object JpaCmpEngine.loadBean(ThreadContext callContext, Object primaryKey)
           
 List<Object> JpaCmpEngine.queryBeans(ThreadContext callContext, Method queryMethod, Object[] args)
           
 void JpaCmpEngine.removeBean(ThreadContext callContext)
           
 void JpaCmpEngine.storeBeanIfNoTx(ThreadContext callContext, Object bean)
           
 

Uses of ThreadContext in org.apache.openejb.core.entity
 

Methods in org.apache.openejb.core.entity with parameters of type ThreadContext
protected  ProxyInfo EntityContainer.createEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
           
protected  void EntityContainer.didCreateBean(ThreadContext callContext, javax.ejb.EntityBean bean)
           
protected  void EntityContainer.didRemove(javax.ejb.EntityBean bean, ThreadContext threadContext)
           
 void EntityInstanceManager.discardInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
           
 void EntityContainer.ejbLoad_If_No_Transaction(ThreadContext callContext, javax.ejb.EntityBean bean)
           
 void EntityContainer.ejbStore_If_No_Transaction(ThreadContext callContext, javax.ejb.EntityBean bean)
           
protected  Object EntityContainer.findMethod(Method callMethod, Object[] args, ThreadContext callContext)
           
 void EntityInstanceManager.freeInstance(ThreadContext callContext, javax.ejb.EntityBean bean)
           
protected  javax.ejb.EntityBean EntityInstanceManager.getPooledInstance(ThreadContext callContext)
           
protected  Object EntityContainer.homeMethod(Method callMethod, Object[] args, ThreadContext callContext)
           
protected  Object EntityContainer.invoke(Method callMethod, Method runMethod, Object[] args, ThreadContext callContext)
           
protected  void EntityInstanceManager.loadingBean(javax.ejb.EntityBean bean, ThreadContext callContext)
           
 javax.ejb.EntityBean EntityInstanceManager.obtainInstance(ThreadContext callContext)
           
 void EntityInstanceManager.poolInstance(ThreadContext callContext, javax.ejb.EntityBean bean, Object primaryKey)
           
protected  void EntityContainer.removeEJBObject(Method callMethod, Object[] args, ThreadContext callContext)
           
protected  void EntityInstanceManager.reusingBean(javax.ejb.EntityBean bean, ThreadContext callContext)
           
 

Uses of ThreadContext in org.apache.openejb.core.security
 

Methods in org.apache.openejb.core.security with parameters of type ThreadContext
 void AbstractSecurityService.contextEntered(ThreadContext oldContext, ThreadContext newContext)
           
 void AbstractSecurityService.contextExited(ThreadContext exitedContext, ThreadContext reenteredContext)
           
 

Uses of ThreadContext in org.apache.openejb.core.singleton
 

Methods in org.apache.openejb.core.singleton with parameters of type ThreadContext
protected  Object SingletonContainer._invoke(Method callMethod, Method runMethod, Object[] args, Instance instance, ThreadContext callContext, InterfaceType callType)
           
 void SingletonInstanceManager.discardInstance(ThreadContext callContext, Object bean)
          This method has no work to do as all instances are removed from the pool on getInstance(...) and not returned via poolInstance(...) if they threw a system exception.
 void SingletonInstanceManager.freeInstance(ThreadContext callContext)
           
 Instance SingletonInstanceManager.getInstance(ThreadContext callContext)
           
 

Uses of ThreadContext in org.apache.openejb.core.stateless
 

Methods in org.apache.openejb.core.stateless with parameters of type ThreadContext
protected  Object StatelessContainer._invoke(Class callInterface, Method callMethod, Method runMethod, Object[] args, Object object, ThreadContext callContext)
          Deprecated.  
protected  Object StatelessContainer._invoke(Method callMethod, Method runMethod, Object[] args, Instance instance, ThreadContext callContext, InterfaceType type)
           
 void StatelessInstanceManager.discardInstance(ThreadContext callContext, Object bean)
          This method is called to release the semaphore in case of the business method throwing a system exception
 Object StatelessInstanceManager.getInstance(ThreadContext callContext)
          Removes an instance from the pool and returns it for use by the container in business methods.
 void StatelessInstanceManager.poolInstance(ThreadContext callContext, Object bean)
          All instances are removed from the pool in getInstance(...).
 

Uses of ThreadContext in org.apache.openejb.core.transaction
 

Methods in org.apache.openejb.core.transaction with parameters of type ThreadContext
static void EjbTransactionUtil.afterInvoke(TransactionPolicy txPolicy, ThreadContext threadContext)
          Completes the specified TransactionPolicy and disassociates it from the specified ThreadContext.
static TransactionPolicy EjbTransactionUtil.createTransactionPolicy(TransactionType type, ThreadContext threadContext)
          Creates a new TransctionPolicy of the specified type and associates it with the specified ThreadContext.
static void EjbTransactionUtil.handleSystemException(TransactionPolicy txPolicy, Throwable sysException, ThreadContext callContext)
          Performs EJB rules when a system exception occurs.
 



Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.