|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
---|---|
java.lang.Object |
CmpEngine.createBean(javax.ejb.EntityBean entity,
ThreadContext callContext)
|
java.lang.Object |
CmpEngine.loadBean(ThreadContext callContext,
java.lang.Object primaryKey)
|
java.util.List<java.lang.Object> |
CmpEngine.queryBeans(ThreadContext callContext,
java.lang.reflect.Method queryMethod,
java.lang.Object[] args)
|
void |
CmpEngine.removeBean(ThreadContext callContext)
|
void |
CmpEngine.storeBeanIfNoTx(ThreadContext callContext,
java.lang.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 | |
---|---|
java.lang.Object |
JpaCmpEngine.createBean(javax.ejb.EntityBean bean,
ThreadContext callContext)
|
java.lang.Object |
JpaCmpEngine.loadBean(ThreadContext callContext,
java.lang.Object primaryKey)
|
java.util.List<java.lang.Object> |
JpaCmpEngine.queryBeans(ThreadContext callContext,
java.lang.reflect.Method queryMethod,
java.lang.Object[] args)
|
void |
JpaCmpEngine.removeBean(ThreadContext callContext)
|
void |
JpaCmpEngine.storeBeanIfNoTx(ThreadContext callContext,
java.lang.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(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 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 java.lang.Object |
EntityContainer.findMethod(java.lang.reflect.Method callMethod,
java.lang.Object[] args,
ThreadContext callContext)
|
void |
EntityInstanceManager.freeInstance(ThreadContext callContext,
javax.ejb.EntityBean bean)
|
protected javax.ejb.EntityBean |
EntityInstanceManager.getPooledInstance(ThreadContext callContext)
|
protected java.lang.Object |
EntityContainer.homeMethod(java.lang.reflect.Method callMethod,
java.lang.Object[] args,
ThreadContext callContext)
|
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)
|
javax.ejb.EntityBean |
EntityInstanceManager.obtainInstance(ThreadContext callContext)
|
void |
EntityInstanceManager.poolInstance(ThreadContext callContext,
javax.ejb.EntityBean bean,
java.lang.Object primaryKey)
|
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)
|
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 java.lang.Object |
SingletonContainer._invoke(java.lang.reflect.Method callMethod,
java.lang.reflect.Method runMethod,
java.lang.Object[] args,
Instance instance,
ThreadContext callContext,
InterfaceType callType)
|
void |
SingletonInstanceManager.discardInstance(ThreadContext callContext,
java.lang.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 java.lang.Object |
StatelessContainer._invoke(java.lang.Class callInterface,
java.lang.reflect.Method callMethod,
java.lang.reflect.Method runMethod,
java.lang.Object[] args,
java.lang.Object object,
ThreadContext callContext)
Deprecated. |
protected java.lang.Object |
StatelessContainer._invoke(java.lang.reflect.Method callMethod,
java.lang.reflect.Method runMethod,
java.lang.Object[] args,
Instance instance,
ThreadContext callContext,
InterfaceType type)
|
void |
StatelessInstanceManager.discardInstance(ThreadContext callContext,
java.lang.Object bean)
This method is called to release the semaphore in case of the business method throwing a system exception |
java.lang.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,
java.lang.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,
java.lang.Throwable sysException,
ThreadContext callContext)
Performs EJB rules when a system exception occurs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |