| Modifier and Type | Method and Description |
|---|---|
void |
OWBContextThreadListener.contextEntered(ThreadContext oldContext,
ThreadContext newContext) |
void |
RequestScopedThreadContextListener.contextEntered(ThreadContext oldContext,
ThreadContext newContext) |
void |
OWBContextThreadListener.contextExited(ThreadContext exitedContext,
ThreadContext reenteredContext) |
void |
RequestScopedThreadContextListener.contextExited(ThreadContext exitedContext,
ThreadContext reenteredContext) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadContext |
ThreadContext.enter(ThreadContext newContext) |
static ThreadContext |
ThreadContext.getThreadContext() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
ThreadContext(ThreadContext that) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected ProxyInfo |
EntityContainer.createEJBObject(Method callMethod,
Object[] args,
ThreadContext callContext,
InterfaceType type) |
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,
InterfaceType type) |
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,
InterfaceType type) |
protected Object |
EntityContainer.invoke(InterfaceType type,
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,
InterfaceType type) |
protected void |
EntityInstanceManager.reusingBean(javax.ejb.EntityBean bean,
ThreadContext callContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSecurityService.contextEntered(ThreadContext oldContext,
ThreadContext newContext) |
void |
AbstractSecurityService.contextExited(ThreadContext exitedContext,
ThreadContext reenteredContext) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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
|
Instance |
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(...).
|
| Modifier and Type | Method and Description |
|---|---|
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–2014 The Apache Software Foundation. All rights reserved.