|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EJBException | |
javax.ejb |
Uses of EJBException in javax.ejb |
Subclasses of EJBException in javax.ejb | |
class |
NoSuchEntityException
The NoSuchEntityException exception is thrown by an enterprise Bean instance to its container to report that the invoked business method or callback method could not be completed because of the underlying entity was removed from the database. |
Methods in javax.ejb that throw EJBException | |
void |
SessionBean.setSessionContext(SessionContext ctx)
Set the associated session context. |
void |
SessionBean.ejbRemove()
A container invokes this method before it ends the life of the session object. |
void |
SessionBean.ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
SessionBean.ejbPassivate()
The passivate method is called before the instance enters the "passive" state. |
void |
EntityBean.setEntityContext(EntityContext ctx)
Set the associated entity context. |
void |
EntityBean.unsetEntityContext()
Unset the associated entity context. |
void |
EntityBean.ejbRemove()
A container invokes this method before it removes the EJB object that is currently associated with the instance. |
void |
EntityBean.ejbActivate()
A container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific EJB object. |
void |
EntityBean.ejbPassivate()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
EntityBean.ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database. |
void |
EntityBean.ejbStore()
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database. |
void |
SessionSynchronization.afterBegin()
The afterBegin method notifies a session Bean instance that a new transaction has started, and that the subsequent business methods on the instance will be invoked in the context of the transaction. |
void |
SessionSynchronization.beforeCompletion()
The beforeCompletion method notifies a session Bean instance that a transaction is about to be committed. |
void |
SessionSynchronization.afterCompletion(boolean committed)
The afterCompletion method notifies a session Bean instance that a transaction commit protocol has completed, and tells the instance whether the transaction has been committed or rolled back. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |