| |
|
| java.lang.Object org.objectweb.jonas.jtests.beans.beanexc.AccountCommon org.objectweb.jonas.jtests.beans.beanexc.AccountSL org.objectweb.jonas.jtests.beans.beanexc.AccountSY
AccountSY | public class AccountSY extends AccountSL implements SessionSynchronization(Code) | | |
Method Summary | |
public void | 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. | public void | 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. | public void | beforeCompletion() The beforeCompletion method notifies a session Bean instance that a
transaction is about to be committed. |
afterBegin | public void afterBegin()(Code) | | 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.
This method executes in the proper transaction context.
throws: EJBException - Thrown if the instance could not performthe function requested by the container because of a system-level error. |
afterCompletion | public void afterCompletion(boolean committed)(Code) | | 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.
This method executes with no transaction context.
: committed - True if the transaction has been committed, false ifit has been rolled back. throws: EJBException - Thrown by the method to indicate a failure caused by asystem-level error. |
beforeCompletion | public void beforeCompletion()(Code) | | The beforeCompletion method notifies a session Bean instance that a
transaction is about to be committed.
This method executes in the proper transaction context.
Note: The instance may still cause the container to rollback the transaction
by invoking the setRollbackOnly() method on the instance context, or by throwing
an exception.
throws: EJBException - Thrown by the method to indicate a failure caused by asystem-level error. |
Fields inherited from org.objectweb.jonas.jtests.beans.beanexc.AccountSL | protected SessionContext sessionContext(Code)(Java Doc)
|
Fields inherited from org.objectweb.jonas.jtests.beans.beanexc.AccountCommon | protected boolean iAmDestroyed(Code)(Java Doc) protected static Logger logger(Code)(Java Doc)
|
|
|
|