Uses of Class
com.sun.ejb.EjbInvocation

Packages that use EjbInvocation
com.sun.ejb   
com.sun.ejb.containers   
org.glassfish.ejb.security   
 

Uses of EjbInvocation in com.sun.ejb
 

Methods in com.sun.ejb that return EjbInvocation
 EjbInvocation EjbInvocation.clone()
           
 EjbInvocation EjbInvocationFactory.create()
           
<C extends ComponentContext>
EjbInvocation
EjbInvocationFactory.create(java.lang.Object ejb, C ctx)
           
 

Methods in com.sun.ejb with parameters of type EjbInvocation
 boolean Container.authorize(EjbInvocation inv)
          Go through ejb container to do ejb security manager authorization.
 java.lang.Object Container.getJaccEjb(EjbInvocation inv)
          Used by EjbInvocation during JACC EnterpriseBean policy handler request for target EnterpriseBean instance.
 void Container.postCreate(EjbInvocation inv, java.lang.Object primaryKey)
          Called by the EJB(Local)Home after invoking ejbCreate on an EntityBean.
 java.lang.Object Container.postFind(EjbInvocation inv, java.lang.Object primaryKeys, java.lang.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.
 

Uses of EjbInvocation in com.sun.ejb.containers
 

Methods in com.sun.ejb.containers with parameters of type EjbInvocation
protected  ComponentContext StatelessSessionContainer._getContext(EjbInvocation inv)
          Called from preInvoke which is called from the EJBObject for local and remote invocations.
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  ComponentContext MessageBeanContainer._getContext(EjbInvocation inv)
           
protected  ComponentContext ReadOnlyBeanContainer._getContext(EjbInvocation inv)
           
protected  ComponentContext BMCSingletonContainer._getContext(EjbInvocation inv)
           
protected  ComponentContext CMCSingletonContainer._getContext(EjbInvocation inv)
           
protected abstract  ComponentContext BaseContainer._getContext(EjbInvocation inv)
           
 ComponentContext StatefulSessionContainer._getContext(EjbInvocation inv)
          Called from preInvoke which is called from the EJBObject for local and remote invocations.
protected  EntityContextImpl EntityContainer.activateEJBFromPool(java.lang.Object primaryKey, EjbInvocation inv)
          Called from getContext and getEJBWithIncompleteTx Get an EJB in the ready state (i.e.
 boolean BaseContainer.authorize(EjbInvocation inv)
          Common code to handle EJB security manager authorization call.
protected  void EntityContainer.checkUnfinishedTx(Transaction prevTx, EjbInvocation inv)
           
protected  void AbstractSingletonContainer.checkUnfinishedTx(Transaction prevTx, EjbInvocation inv)
           
protected  void BaseContainer.checkUnfinishedTx(Transaction prevTx, EjbInvocation inv)
           
 java.util.concurrent.Future EjbAsyncInvocationManager.createLocalFuture(EjbInvocation inv)
           
 java.util.concurrent.Future EjbAsyncInvocationManager.createRemoteFuture(EjbInvocation inv, Container container, GenericEJBHome ejbHome)
           
protected  void EntityContainer.doFlush(EjbInvocation inv)
           
protected  void BaseContainer.doFlush(EjbInvocation inv)
           
protected  ComponentContext BaseContainer.getContext(EjbInvocation inv)
           
 java.lang.Object BaseContainer.getJaccEjb(EjbInvocation inv)
          Called-back from security implementation through EjbInvocation when a jacc policy provider wants an enterprise bean instance.
protected  EntityContextImpl EntityContainer.getReadyEJB(EjbInvocation inv)
           
protected  EntityContextImpl CommitCEntityContainer.getReadyEJB(EjbInvocation inv)
           
protected  int BaseContainer.getTxAttr(EjbInvocation inv)
           
 void EjbAsyncTask.initialize(EjbInvocation inv)
           
 java.lang.Object BaseContainer.invokeBeanMethod(EjbInvocation inv)
          Called from Interceptor Chain to invoke the actual bean method.
protected  java.lang.Object EntityContainer.invokeFindByPrimaryKey(java.lang.reflect.Method method, EjbInvocation inv, java.lang.Object[] args)
           
protected  java.lang.Object ReadOnlyBeanContainer.invokeFindByPrimaryKey(java.lang.reflect.Method method, EjbInvocation inv, java.lang.Object[] args)
           
 void EntityContainer.postCreate(EjbInvocation inv, java.lang.Object primaryKey)
          This is called from the generated "HelloEJBHomeImpl" create* method, after ejb.ejbCreate() has been called and before ejb.ejbPostCreate() is called.
 void BaseContainer.postCreate(EjbInvocation inv, java.lang.Object primaryKey)
           
 java.lang.Object EntityContainer.postFind(EjbInvocation inv, java.lang.Object primaryKeys, java.lang.Object[] findParams)
          Convert a collection of primary keys to a collection of EJBObjects.
 java.lang.Object ReadOnlyBeanContainer.postFind(EjbInvocation inv, java.lang.Object primaryKeys, java.lang.Object[] findParams)
           
 java.lang.Object BaseContainer.postFind(EjbInvocation inv, java.lang.Object primaryKeys, java.lang.Object[] findParams)
           
 void MessageBeanContainer.postInvoke(EjbInvocation inv)
          TODO public void appendStats(StringBuffer sbuf) { sbuf.append("\nMessageBeanContainer: ").append("CreateCount=").append( statCreateCount).append("; ").append("RemoveCount=").append( statRemoveCount).append("; ").append("MsgCount=").append( statMessageCount).append("; "); sbuf.append("]"); }
 void BaseContainer.postInvoke(EjbInvocation inv)
          Called from EJBObject/EJBHome after invoking on bean.
protected  void BaseContainer.postInvoke(EjbInvocation inv, boolean doTxProcessing)
           
 void BaseContainer.postInvokeTx(EjbInvocation inv)
          postInvokeTx is called after every invocation on the EJB instance, including ejbCreate/ejbFind---/ejbRemove.
 void StatefulSessionContainer.postInvokeTx(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 MessageBeanContainer.preInvoke(EjbInvocation inv)
           
 void ReadOnlyBeanContainer.preInvoke(EjbInvocation inv)
           
 void BaseContainer.preInvoke(EjbInvocation inv)
          Called from EJBObject/EJBHome before invoking on EJB.
protected  void BaseContainer.preInvokeTx(EjbInvocation inv)
          This is called from preInvoke before every method invocation on the EJB instance, including ejbCreate, ejbFind*, ejbRemove.
 void StatelessSessionContainer.releaseContext(EjbInvocation inv)
          Called from preInvoke which is called from the EJBObject for local and remote invocations.
 void EntityContainer.releaseContext(EjbInvocation inv)
          This is called from BaseContainer.postInvoke after EntityContainer.preInvokeTx has been called.
 void MessageBeanContainer.releaseContext(EjbInvocation inv)
          Return instance to a pooled state.
 void BMCSingletonContainer.releaseContext(EjbInvocation inv)
           
 void CMCSingletonContainer.releaseContext(EjbInvocation inv)
          This method must unlock any lock that might have been acquired in _getContext().
protected abstract  void BaseContainer.releaseContext(EjbInvocation inv)
           
 void StatefulSessionContainer.releaseContext(EjbInvocation inv)
          Called from preInvoke which is called from the EJBObject for local and remote invocations.
protected  void EntityContainer.removeBean(EjbInvocation inv)
          container.preInvoke() must already be done.
 java.util.concurrent.Future EjbAsyncInvocationManager.submit(EjbInvocation inv)
           
protected  void BaseContainer.useClientTx(Transaction prevTx, EjbInvocation inv)
           
 void BaseContainer.webServicePostInvoke(EjbInvocation inv)
           
protected  boolean EntityContainer.willInvokeWithClientTx(EjbInvocation inv)
           
 

Uses of EjbInvocation in org.glassfish.ejb.security
 

Methods in org.glassfish.ejb.security with parameters of type EjbInvocation
static java.lang.Object EJBSecurityUtil.invoke(java.lang.reflect.Method beanClassMethod, EjbInvocation inv, java.lang.Object o, java.lang.Object[] oa, EJBSecurityManager ejbSecMgr)
          This method is similiar to the runMethod, except it keeps the semantics same as the one in reflection.
static java.lang.Object EJBSecurityUtil.runMethod(java.lang.reflect.Method beanClassMethod, EjbInvocation inv, java.lang.Object o, java.lang.Object[] oa, EJBSecurityManager mgr)
          This method is called from the generated code to execute the method.
 



Copyright © 2012 GlassFish Community. All Rights Reserved.