| org.objectweb.jonas.jtests.beans.transacted.SimpleCommon org.objectweb.jonas.jtests.beans.transacted.SimpleSL org.objectweb.jonas.jtests.beans.transacted.SimpleSY
SimpleSY | public class SimpleSY extends SimpleSL 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. | public boolean | call_notsupported_local() REQUIRED -> should return true. | public boolean | call_requires_new_local() REQUIRED -> should return true. | public void | setRollbackOnly() |
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. |
call_notsupported_local | public boolean call_notsupported_local()(Code) | | REQUIRED -> should return true.
|
call_requires_new_local | public boolean call_requires_new_local()(Code) | | REQUIRED -> should return true.
|
setRollbackOnly | public void setRollbackOnly()(Code) | | Ask bean to set transaction rollback only
|
Fields inherited from org.objectweb.jonas.jtests.beans.transacted.SimpleSL | protected SessionContext sessionContext(Code)(Java Doc) protected static int timercount(Code)(Java Doc)
|
Fields inherited from org.objectweb.jonas.jtests.beans.transacted.SimpleCommon | protected static Logger logger(Code)(Java Doc)
|
|
|