Methods Summary |
---|
public void | assertValidLocalObject(java.lang.Object o)Verify that a given object is an EJBLocalObject of an ejb from this
ejb container. The given object must be an EJBLocalObject and have
the same ejb type ( meaning same ejb-jar and same ejb-name ) as this
container. Note that for entity beans this equality check is independent of
primary key.
|
public void | assertValidRemoteObject(java.lang.Object o)Verify that a given object is an EJBObject of an ejb from this
ejb container. The given object must be an EJBObject and have
the same ejb type ( meaning same ejb-jar and same ejb-name ) as this
container. Note that for entity beans this equality check is independent of
primary key.
|
public boolean | authorize(Invocation inv)Go through ejb container to do ejb security manager authorization.
|
public void | doAfterApplicationDeploy()Called after all the components in the container's application
have deployed successfully. Allows containers to delay
public access to their resources until the end of the deployment
process.
|
public void | doAfterBegin(com.sun.enterprise.ComponentInvocation ci)Called from the TM when an EJB with Bean-Managed transactions starts a tx
|
public void | externalPostInvoke()Performs post external invocation cleanup such as restoring the original
class loader. Called by releaseTargetObject() and web service inv
|
public void | externalPreInvoke()Performs pre external invocation setup such as setting application
context class loader. Called by getTargetObject() and web service inv
|
public java.lang.ClassLoader | getClassLoader()
|
public java.lang.String | getComponentId()Called from NamingManagerImpl during java:comp/env lookup.
|
public EJBHome | getEJBHome()
|
public EJBLocalObject | getEJBLocalObjectForPrimaryKey(java.lang.Object pkey, EJBContext ctx)Obtain an Entity EJBLocalObject corresponding to the primary key.
Used by the PersistenceManager.
|
public EJBLocalObject | getEJBLocalObjectForPrimaryKey(java.lang.Object pkey)
|
public EJBMetaData | getEJBMetaData()
|
public EJBObject | getEJBObjectForPrimaryKey(java.lang.Object pkey)Obtain an Entity EJBObject corresponding to the primary key.
Used by the PersistenceManager.
|
public com.sun.enterprise.deployment.EjbDescriptor | getEjbDescriptor()
|
public java.lang.Object | getJaccEjb(Invocation inv)Used by Invocation during JACC EnterpriseBean policy handler request
for target EnterpriseBean instance.
|
public com.sun.enterprise.SecurityManager | getSecurityManager()
|
public java.rmi.Remote | getTargetObject(byte[] instanceKey, java.lang.String remoteBusinessIntf)Return the EJBObject/EJBHome for the given instanceKey.
|
public void | onReady()Called when server instance is Ready
|
public void | onShutdown()Called when server instance is shuting down
|
public void | onTermination()Called when server instance is terminating. This method is the last
one called during server shutdown.
|
public void | postCreate(Invocation inv, java.lang.Object primaryKey)Called by the EJB(Local)Home after invoking ejbCreate on an EntityBean.
After this postCreate the EJB(Local)Home can call ejbPostCreate on
the EntityBean.
|
public java.lang.Object | postFind(Invocation inv, java.lang.Object primaryKeys, java.lang.Object[] findParams)Called by the EJB(Local)Home after invoking ejbFind* on an EntityBean.
|
public void | postInvoke(Invocation inv)Called by the EJB(Local)Object/EJB(Local)Home after an invocation
on a bean.
|
public void | preInvoke(Invocation inv)Called by the EJB(Local)Object/EJB(Local)Home before an invocation
on a bean.
|
public void | preSelect()Notification from persistence manager than an ejbSelect
query is about to be invoked on a bean of the ejb type
for this container. This allows the ejb container
to perform the same set of actions as take place before a
finder method, such as calling ejbStore on bean instances.
(See EJB 2.1, Section 10.5.3 ejbFind,ejbStore)
|
public void | releaseTargetObject(java.rmi.Remote remoteObj)Release the EJBObject/EJBHome object.
Called from the ProtocolManager after a remote invocation completes.
|
public void | removeBeanUnchecked(EJBLocalObject bean)Remove a bean. Used by the PersistenceManager.
|
public void | removeBeanUnchecked(java.lang.Object pkey)Remove a bean given primary key. Used by the PersistenceManager.
|
public void | setStartedState()Start servicing invocations for EJB instances in this Container.
|
public void | setStoppedState()Stop servicing invocations for EJB instances in this Container.
Subsequent EJB invocations will receive exceptions.
Invocations already in progress will be allowed to complete eventually.
|
public void | setUndeployedState()Stop servicing invocations for EJB instances in this Container as the
container is being undeployed.
No new EJB invocations will be accepted from now on.
Invocations already in progress will be allowed to complete eventually.
|
public void | undeploy()Called from EJB JarManager when an application is undeployed.
|
public boolean | userTransactionMethodsAllowed(com.sun.enterprise.ComponentInvocation inv)EJB spec makes a distinction between access to the UserTransaction
object itself and access to its methods. getUserTransaction covers
the first check and this method covers the second. It is called
by the UserTransaction implementation to verify access.
|
public void | webServicePostInvoke(Invocation inv)Called by webservice code to do ejb invocation post processing.
|