[9] Should be run as the nineth test suite of the BasicCmpTestClients
=========================================================================
Operations allowed in the methods of an entity bean
=========================================================================
Bean method | Bean method can perform the following operations
______________________|__________________________________________________
|
constructor | -
______________________|__________________________________________________
|
setEntityContext | EntityContext methods:
unsetEntityContext | - getEJBHome
| JNDI access to java:comp/env
______________________|__________________________________________________
|
ejbCreate | EntityContext methods:
| - getEJBHome
| - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|
ejbPostCreate | EntityContext methods:
| - getEJBHome
| - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| - getEJBObject
| - getPrimaryKey
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|
ejbRemove | EntityContext methods:
| - getEJBHome
| - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| - getEJBObject
| - getPrimaryKey
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|
ejbFind* | EntityContext methods:
ejbSelect* | - getEJBHome
ejbHome | - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|
ejbSelectInEntity* | EntityContext methods:
| - getEJBHome
| - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| - getEJBObject
| - getPrimaryKey
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|
ejbActivate | EntityContext methods:
ejbPassivate | - getEJBHome
| - getEJBObject
| - getPrimaryKey
| JNDI access to java:comp/env
______________________|__________________________________________________
|
ejbLoad | EntityContext methods:
ejbStore | - getEJBHome
| - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| - getEJBObject
| - getPrimaryKey
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|
business method | EntityContext methods:
from remote interface | - getEJBHome
| - getCallerPrincipal
| - getRollbackOnly
| - isCallerInRole
| - setRollbackOnly
| - getEJBObject
| - getPrimaryKey
| JNDI access to java:comp/env
| Resource manager access
| Enterprise bean access
______________________|__________________________________________________
|