com.ibm.batch.container.transaction.impl
Class DefaultNonTransactionalManager

java.lang.Object
  extended by com.ibm.batch.container.transaction.impl.DefaultNonTransactionalManager
All Implemented Interfaces:
TransactionManagerSPI

public class DefaultNonTransactionalManager
extends Object
implements TransactionManagerSPI


Constructor Summary
DefaultNonTransactionalManager()
           
 
Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int seconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNonTransactionalManager

public DefaultNonTransactionalManager()
Method Detail

begin

public void begin()
           throws TransactionManagementException
Specified by:
begin in interface TransactionManagerSPI
Throws:
TransactionManagementException

commit

public void commit()
            throws TransactionManagementException
Specified by:
commit in interface TransactionManagerSPI
Throws:
TransactionManagementException

rollback

public void rollback()
              throws TransactionManagementException
Specified by:
rollback in interface TransactionManagerSPI
Throws:
TransactionManagementException

getStatus

public int getStatus()
              throws TransactionManagementException
Specified by:
getStatus in interface TransactionManagerSPI
Throws:
TransactionManagementException

setRollbackOnly

public void setRollbackOnly()
                     throws TransactionManagementException
Specified by:
setRollbackOnly in interface TransactionManagerSPI
Throws:
TransactionManagementException

setTransactionTimeout

public void setTransactionTimeout(int seconds)
                           throws TransactionManagementException
Specified by:
setTransactionTimeout in interface TransactionManagerSPI
Throws:
TransactionManagementException


Copyright © 2013. All Rights Reserved.