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.mdb   
org.apache.openejb.core.security   
org.apache.openejb.core.stateful   
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.
 void RpcContainerWrapper.discardInstance(Object instance, ThreadContext context)
           
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)
           
 void CmpContainer.discardInstance(Object bean, ThreadContext threadContext)
           
 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 EntityContainer.discardInstance(Object 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.mdb
 

Methods in org.apache.openejb.core.mdb with parameters of type ThreadContext
 void MdbContainer.discardInstance(Object instance, ThreadContext context)
           
 

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.stateful
 

Methods in org.apache.openejb.core.stateful with parameters of type ThreadContext
protected  Object StatefulContainer._invoke(Method callMethod, InterceptorStack interceptorStack, Object[] args, Object bean, ThreadContext callContext)
           
protected  Object StatefulContainer._invoke(Method callMethod, InterceptorStack interceptorStack, Object[] args, Object bean, ThreadContext callContext, TransactionContext txContext)
           
 Object StatefulInstanceManager.activateInstance(ThreadContext callContext, BeanEntry entry)
           
protected  InvalidateReferenceException StatefulInstanceManager.destroy(ThreadContext callContext, BeanEntry entry, Exception t)
           
 void StatefulContainer.discardInstance(Object bean, ThreadContext threadContext)
           
protected  void SessionSynchronizationCoordinator.discardInstance(StatefulInstanceManager instanceManager, ThreadContext callContext)
           
 Object StatefulInstanceManager.freeInstance(ThreadContext threadContext)
           
protected  BeanEntry StatefulInstanceManager.getBeanEntry(ThreadContext callContext)
           
protected  Hashtable<Object,BeanEntry> StatefulInstanceManager.getBeanIndex(ThreadContext threadContext)
           
 Transaction StatefulInstanceManager.getBeanTransaction(ThreadContext callContext)
           
 Map<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager> StatefulInstanceManager.getEntityManagers(ThreadContext callContext, Index<javax.persistence.EntityManagerFactory,Map> factories)
           
protected  void StatefulInstanceManager.handleCallbackException(Throwable e, Object instance, ThreadContext callContext, String callBack)
           
protected  void StatefulInstanceManager.handleTimeout(BeanEntry entry, ThreadContext threadContext)
           
 Object StatefulInstanceManager.obtainInstance(Object primaryKey, ThreadContext callContext)
           
protected  void StatefulInstanceManager.onFreeBeanEntry(ThreadContext threadContext, BeanEntry entry)
           
protected  void StatefulInstanceManager.onPoolInstanceWithoutTransaction(ThreadContext callContext, BeanEntry entry)
           
 void StatefulInstanceManager.passivate(ThreadContext threadContext, BeanEntry currentEntry)
           
 void StatefulInstanceManager.poolInstance(ThreadContext callContext, Object bean)
           
 void StatefulInstanceManager.setBeanTransaction(ThreadContext callContext, Transaction beanTransaction)
           
 void StatefulInstanceManager.setEntityManagers(ThreadContext callContext, Index<javax.persistence.EntityManagerFactory,javax.persistence.EntityManager> entityManagers)
           
 

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, Instance instance, ThreadContext callContext)
           
protected  Object StatelessContainer._invoke(Class callInterface, Method callMethod, Method runMethod, Object[] args, Object object, ThreadContext callContext)
          Deprecated. use type-safe StatelessContainer._invoke(Class, java.lang.reflect.Method, java.lang.reflect.Method, Object[], Instance, org.apache.openejb.core.ThreadContext)
 void StatelessContainer.discardInstance(Object instance, ThreadContext context)
           
 void StatelessInstanceManager.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.
 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
 

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

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

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



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