站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 j2ee API Documentation 英文版文档

Uses of Class javax.ejb.EJBException (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档


Uses of Class
javax.ejb.EJBException

Packages that use EJBException
javax.ejb   
 

Uses of EJBException in javax.ejb
 

Subclasses of EJBException in javax.ejb
 class AccessLocalException
          An AccessLocalException is thrown to indicate that the caller does not have permission to call the method.
 class NoSuchEntityException
          The NoSuchEntityException exception is thrown by an Entity 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.
 class NoSuchObjectLocalException
          A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on an object that no longer exists.
 class TransactionRequiredLocalException
          This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
 class TransactionRolledbackLocalException
          This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
 

Methods in javax.ejb that throw EJBException
 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.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.
 void SessionSynchronization.beforeCompletion()
          The beforeCompletion method notifies a session Bean instance that a transaction is about to be committed.
 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 SessionBean.ejbRemove()
          A container invokes this method before it ends the life of the session object.
 void SessionBean.setSessionContext(SessionContext ctx)
          Set the associated session context.
 void MessageDrivenBean.ejbRemove()
          A container invokes this method before it ends the life of the message-driven object.
 void MessageDrivenBean.setMessageDrivenContext(MessageDrivenContext ctx)
          Set the associated message-driven context.
 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.ejbLoad()
          A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database.
 void EntityBean.ejbPassivate()
          A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object.
 void EntityBean.ejbRemove()
          A container invokes this method before it removes the EJB object that is currently associated with the instance.
 void EntityBean.ejbStore()
          A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database.
 void EntityBean.setEntityContext(EntityContext ctx)
          Set the associated entity context.
 void EntityBean.unsetEntityContext()
          Unset the associated entity context.
 EJBLocalHome EJBLocalObject.getEJBLocalHome()
          Obtain the enterprise Bean's local home interface.
 Object EJBLocalObject.getPrimaryKey()
          Obtain the primary key of the EJB local object.
 void EJBLocalObject.remove()
          Remove the EJB local object.
 boolean EJBLocalObject.isIdentical(EJBLocalObject obj)
          Test if a given EJB local object is identical to the invoked EJB local object.
 void EJBLocalHome.remove(Object primaryKey)
          Remove an EJB object identified by its primary key.
 



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.