org.openmdx.kernel.application.container.spi.ejb
Class AbstractTransactionContext

java.lang.Object
  extended by org.openmdx.kernel.application.container.spi.ejb.AbstractTransactionContext

public abstract class AbstractTransactionContext
extends Object

TransactionContext


Constructor Summary
protected AbstractTransactionContext(TransactionManager transactionManager)
          Constructor
 
Method Summary
protected  void endFail()
          Abort an EJB business method invocation
protected  void endSuccess()
          Terminate an EJB business method invocation
protected  void start(TransactionAttribute transactionAttribute)
          Start an EJB business method invocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransactionContext

protected AbstractTransactionContext(TransactionManager transactionManager)
Constructor

Method Detail

start

protected void start(TransactionAttribute transactionAttribute)
              throws TransactionRequiredException,
                     InvalidTransactionException,
                     SystemException,
                     NotSupportedException
Start an EJB business method invocation

Parameters:
transactionAttribute - TODO
Throws:
NotSupportedException
SystemException
InvalidTransactionException
TransactionRequiredException

endSuccess

protected void endSuccess()
                   throws InvalidTransactionException,
                          IllegalStateException,
                          SystemException,
                          SecurityException,
                          RollbackException,
                          HeuristicMixedException,
                          HeuristicRollbackException
Terminate an EJB business method invocation

Throws:
SystemException
IllegalStateException
InvalidTransactionException
HeuristicRollbackException
HeuristicMixedException
RollbackException
SecurityException

endFail

protected void endFail()
                throws IllegalStateException,
                       SecurityException,
                       SystemException,
                       InvalidTransactionException
Abort an EJB business method invocation

Throws:
SystemException
SecurityException
IllegalStateException
InvalidTransactionException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.