| Package | Description |
|---|---|
| com.sun.ejb | |
| com.sun.ejb.containers | |
| org.glassfish.ejb.mdb | |
| org.glassfish.persistence.ejb.entitybean.container |
| Modifier and Type | Method and Description |
|---|---|
EjbInvocation |
EjbInvocation.clone() |
EjbInvocation |
EjbInvocationFactory.create() |
<C extends ComponentContext> |
EjbInvocationFactory.create(Object ejb,
C ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Container.authorize(EjbInvocation inv)
Go through ejb container to do ejb security manager authorization.
|
Object |
Container.getJaccEjb(EjbInvocation inv)
Used by EjbInvocation during JACC EnterpriseBean policy handler request
for target EnterpriseBean instance.
|
void |
Container.postCreate(EjbInvocation inv,
Object primaryKey)
Called by the EJB(Local)Home after invoking ejbCreate on an EntityBean.
|
Object |
Container.postFind(EjbInvocation inv,
Object primaryKeys,
Object[] findParams)
Called by the EJB(Local)Home after invoking ejbFind* on an EntityBean.
|
void |
Container.postInvoke(EjbInvocation inv)
Called by the EJB(Local)Object/EJB(Local)Home after an invocation
on a bean.
|
void |
Container.preInvoke(EjbInvocation inv)
Called by the EJB(Local)Object/EJB(Local)Home before an invocation
on a bean.
|
void |
Container.webServicePostInvoke(EjbInvocation inv)
Called by webservice code to do ejb invocation post processing.
|
| Modifier and Type | Method and Description |
|---|---|
protected EjbInvocation |
BaseContainer.createEjbInvocation() |
protected EjbInvocation |
AbstractSingletonContainer.createEjbInvocation() |
protected EjbInvocation |
BaseContainer.createEjbInvocation(Object ejb,
ComponentContext context) |
protected EjbInvocation |
AbstractSingletonContainer.createEjbInvocation(Object ejb,
ComponentContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ComponentContext |
BaseContainer._getContext(EjbInvocation inv) |
protected ComponentContext |
BMCSingletonContainer._getContext(EjbInvocation inv) |
ComponentContext |
StatefulSessionContainer._getContext(EjbInvocation ejbInvocation)
Called from preInvoke which is called from the EJBObject
for local and remote invocations.
|
protected ComponentContext |
StatelessSessionContainer._getContext(EjbInvocation inv)
Called from preInvoke which is called from the EJBObject
for local and remote invocations.
|
protected ComponentContext |
AbstractSingletonContainer._getContext(EjbInvocation invocation) |
protected ComponentContext |
CMCSingletonContainer._getContext(EjbInvocation inv) |
void |
EJBContainerStateManager.attachObject(EjbInvocation inv,
EJBContextImpl context,
EJBObjectImpl ejbObjImpl,
EJBLocalObjectImpl localObjImpl)
Associate EJB Object with this invocation and this Context
Note that some of the calls do not have Context assosiated with this
invocation, so Context object is passed in separately
|
boolean |
BaseContainer.authorize(EjbInvocation inv)
Common code to handle EJB security manager authorization call.
|
protected void |
BaseContainer.checkUnfinishedTx(Transaction prevTx,
EjbInvocation inv) |
protected void |
StatefulSessionContainer.checkUnfinishedTx(Transaction prevTx,
EjbInvocation inv) |
Future |
EjbAsyncInvocationManager.createLocalFuture(EjbInvocation inv) |
Future |
EjbAsyncInvocationManager.createRemoteFuture(EjbInvocation inv,
Container container,
GenericEJBHome ejbHome) |
protected void |
BaseContainer.doFlush(EjbInvocation inv) |
protected void |
BaseContainer.doTimerInvocationInit(EjbInvocation inv,
Object primaryKey)
This is implemented by concrete containers that support TimedObjects.
|
protected void |
StatelessSessionContainer.doTimerInvocationInit(EjbInvocation inv,
Object primaryKey) |
protected void |
AbstractSingletonContainer.doTimerInvocationInit(EjbInvocation inv,
Object primaryKey) |
protected ComponentContext |
BaseContainer.getContext(EjbInvocation inv) |
protected Object |
BaseContainer.getInvocationKey(EjbInvocation inv) |
Object |
BaseContainer.getJaccEjb(EjbInvocation inv)
Called-back from security implementation through EjbInvocation
when a jacc policy provider wants an enterprise bean instance.
|
protected int |
BaseContainer.getTxAttr(EjbInvocation inv) |
void |
EjbAsyncTask.initialize(EjbInvocation inv) |
protected Object |
BaseContainer.intercept(EjbInvocation inv)
Called from various places within the container that are responsible
for dispatching invocations to business methods.
|
protected Object |
StatefulSessionContainer.intercept(EjbInvocation inv) |
Object |
BaseContainer.invokeBeanMethod(EjbInvocation inv)
Called from Interceptor Chain to invoke the actual bean method.
|
protected Object |
BaseContainer.invokeFindByPrimaryKey(Method method,
EjbInvocation inv,
Object[] args) |
protected Object |
EJBLocalHomeInvocationHandler.invokeTargetBeanMethod(BaseContainer container,
Method beanClassMethod,
EjbInvocation inv,
Object target,
Object[] params) |
protected Object |
EJBHomeInvocationHandler.invokeTargetBeanMethod(BaseContainer container,
Method beanClassMethod,
EjbInvocation inv,
Object target,
Object[] params) |
protected Object |
BaseContainer.invokeTargetBeanMethod(Method beanClassMethod,
EjbInvocation inv,
Object target,
Object[] params,
SecurityManager mgr) |
boolean |
EJBContainerStateManager.isRemovedEJBObject(EjbInvocation inv) |
protected void |
EJBLocalHomeInvocationHandler.postCreate(Container container,
EjbInvocation inv,
InvocationInfo invInfo,
Object primaryKey,
Object[] args) |
protected void |
EJBHomeInvocationHandler.postCreate(Container container,
EjbInvocation inv,
InvocationInfo invInfo,
Object primaryKey,
Object[] args) |
void |
BaseContainer.postCreate(EjbInvocation inv,
Object primaryKey) |
Object |
BaseContainer.postFind(EjbInvocation inv,
Object primaryKeys,
Object[] findParams) |
void |
BaseContainer.postInvoke(EjbInvocation inv)
Called from EJBObject/EJBHome after invoking on bean.
|
protected void |
BaseContainer.postInvoke(EjbInvocation inv,
boolean doTxProcessing) |
protected void |
BaseContainer.postInvokeNoTx(EjbInvocation inv) |
protected void |
BaseContainer.postInvokeTx(EjbInvocation inv)
postInvokeTx is called after every invocation on the EJB instance,
including ejbCreate/ejbFind---/ejbRemove.
|
protected void |
EJBContainerTransactionManager.postInvokeTx(EjbInvocation inv)
Handle transaction requirements, if any, after invoking bean method
|
protected void |
StatefulSessionContainer.postInvokeTx(EjbInvocation inv) |
void |
BaseContainer.preInvoke(EjbInvocation inv)
Called from EJBObject/EJBHome before invoking on EJB.
|
protected void |
BaseContainer.preInvokeNoTx(EjbInvocation inv) |
protected void |
BaseContainer.preInvokeTx(EjbInvocation inv)
This is called from preInvoke before every method invocation
on the EJB instance, including ejbCreate, ejbFind*, ejbRemove.
|
protected void |
BaseContainer.prepareEjbTimeoutParams(EjbInvocation inv,
RuntimeTimerState timerState,
EJBTimerService timerService) |
protected abstract void |
BaseContainer.releaseContext(EjbInvocation inv) |
void |
BMCSingletonContainer.releaseContext(EjbInvocation inv) |
void |
StatefulSessionContainer.releaseContext(EjbInvocation inv)
Called from preInvoke which is called from the EJBObject for local and
remote invocations.
|
void |
StatelessSessionContainer.releaseContext(EjbInvocation inv)
Called from preInvoke which is called from the EJBObject
for local and remote invocations.
|
protected void |
AbstractSingletonContainer.releaseContext(EjbInvocation inv) |
void |
CMCSingletonContainer.releaseContext(EjbInvocation inv)
This method must unlock any lock that might have been acquired
in _getContext().
|
protected boolean |
BaseContainer.resumeTransaction(EjbInvocation inv) |
protected boolean |
StatefulSessionContainer.resumeTransaction(EjbInvocation inv) |
protected boolean |
StatelessSessionContainer.resumeTransaction(EjbInvocation inv) |
Future |
EjbAsyncInvocationManager.submit(EjbInvocation inv) |
protected boolean |
BaseContainer.suspendTransaction(EjbInvocation inv) |
protected boolean |
StatefulSessionContainer.suspendTransaction(EjbInvocation inv) |
protected boolean |
StatelessSessionContainer.suspendTransaction(EjbInvocation inv) |
protected void |
BaseContainer.useClientTx(Transaction prevTx,
EjbInvocation inv) |
protected void |
EJBContainerTransactionManager.useClientTx(Transaction prevTx,
EjbInvocation inv)
Use caller transaction to execute a bean method
|
protected void |
BaseContainer.validateEMForClientTx(EjbInvocation inv,
JavaEETransaction t) |
protected void |
StatefulSessionContainer.validateEMForClientTx(EjbInvocation inv,
JavaEETransaction clientJ2EETx) |
void |
BaseContainer.webServicePostInvoke(EjbInvocation inv) |
| Modifier and Type | Method and Description |
|---|---|
protected ComponentContext |
MessageBeanContainer._getContext(EjbInvocation inv) |
void |
MessageBeanContainer.postInvoke(EjbInvocation inv)
TODO
public void appendStats(StringBuilder sbuf) {
sbuf.append("\nMessageBeanContainer: ").append("CreateCount=").append(
statCreateCount).append("; ").append("RemoveCount=").append(
statRemoveCount).append("; ").append("MsgCount=").append(
statMessageCount).append("; ");
sbuf.append("]");
}
|
void |
MessageBeanContainer.preInvoke(EjbInvocation inv) |
void |
MessageBeanContainer.releaseContext(EjbInvocation inv)
Return instance to a pooled state.
|
| Modifier and Type | Method and Description |
|---|---|
protected ComponentContext |
ReadOnlyBeanContainer._getContext(EjbInvocation inv) |
protected ComponentContext |
EntityContainer._getContext(EjbInvocation inv)
Called from BaseContainer.preInvoke which is called from the EJBObject
for local and remote invocations, and from the EJBHome for create/find.
|
protected EntityContextImpl |
EntityContainer.activateEJBFromPool(Object primaryKey,
EjbInvocation inv)
Called from getContext and getEJBWithIncompleteTx
Get an EJB in the ready state (i.e.
|
protected void |
EntityContainer.checkUnfinishedTx(Transaction prevTx,
EjbInvocation inv) |
protected void |
EntityContainer.doFlush(EjbInvocation inv) |
protected void |
EntityContainer.doTimerInvocationInit(EjbInvocation inv,
Object primaryKey) |
protected EntityContextImpl |
CommitCEntityContainer.getReadyEJB(EjbInvocation inv) |
protected EntityContextImpl |
EntityContainer.getReadyEJB(EjbInvocation inv) |
protected Object |
ReadOnlyBeanContainer.invokeFindByPrimaryKey(Method method,
EjbInvocation inv,
Object[] args) |
protected Object |
EntityContainer.invokeFindByPrimaryKey(Method method,
EjbInvocation inv,
Object[] args) |
protected Object |
ReadOnlyBeanContainer.invokeTargetBeanMethod(Method beanClassMethod,
EjbInvocation inv,
Object target,
Object[] params,
SecurityManager mgr) |
protected void |
EntityBeanLocalHomeImpl.postCreate(Container container,
EjbInvocation inv,
InvocationInfo invInfo,
Object primaryKey,
Object[] args) |
protected void |
EntityBeanHomeImpl.postCreate(Container container,
EjbInvocation inv,
InvocationInfo invInfo,
Object primaryKey,
Object[] args) |
void |
EntityContainer.postCreate(EjbInvocation inv,
Object primaryKey)
This is called from the generated "HelloEJBHomeImpl" create* method,
after ejb.ejbCreate() has been called and before ejb.ejbPostCreate()
is called.
|
Object |
ReadOnlyBeanContainer.postFind(EjbInvocation inv,
Object primaryKeys,
Object[] findParams) |
Object |
EntityContainer.postFind(EjbInvocation inv,
Object primaryKeys,
Object[] findParams)
Convert a collection of primary keys to a collection of EJBObjects.
|
protected void |
EntityContainer.postInvokeNoTx(EjbInvocation inv) |
protected void |
EntityContainer.preCreate(EjbInvocation inv,
EntityContextImpl context)
Called from getContext before the ejb.ejbCreate is called
|
protected void |
EntityContainer.preFind(EjbInvocation inv,
EntityContextImpl context)
Called from getContext before the ejb.ejbFind* is called
|
void |
ReadOnlyBeanContainer.preInvoke(EjbInvocation inv) |
protected void |
ReadOnlyBeanContainer.preInvokeNoTx(EjbInvocation inv) |
protected void |
EntityContainer.preInvokeNoTx(EjbInvocation inv) |
void |
EntityContainer.releaseContext(EjbInvocation inv)
This is called from BaseContainer.postInvoke after
EntityContainer.preInvokeTx has been called.
|
protected void |
EntityContainer.removeBean(EjbInvocation inv)
container.preInvoke() must already be done.
|
protected boolean |
EntityContainer.willInvokeWithClientTx(EjbInvocation inv) |
Copyright © 2019. All rights reserved.