org.exolab.castor.jdo.transactionmanager.spi
Class LocalTransactionManager
java.lang.Object
org.exolab.castor.jdo.transactionmanager.spi.LocalTransactionManager
- All Implemented Interfaces:
- javax.transaction.TransactionManager
public final class LocalTransactionManager
- extends java.lang.Object
- implements javax.transaction.TransactionManager
Default transaction manager when Castor is used in standalone mode,
in other words not within a J2EE container.
- Version:
- $Revision: 1.1 $ $Date: 2005/08/17 13:37:06 $
- Author:
- Ralf Joachim
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalTransactionManager
public LocalTransactionManager()
begin
public void begin()
throws javax.transaction.SystemException
- Specified by:
begin
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
commit
public void commit()
throws javax.transaction.SystemException
- Specified by:
commit
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
getStatus
public int getStatus()
throws javax.transaction.SystemException
- Specified by:
getStatus
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
getTransaction
public javax.transaction.Transaction getTransaction()
throws javax.transaction.SystemException
- Specified by:
getTransaction
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
resume
public void resume(javax.transaction.Transaction arg)
throws javax.transaction.SystemException
- Specified by:
resume
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
rollback
public void rollback()
throws javax.transaction.SystemException
- Specified by:
rollback
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
setRollbackOnly
public void setRollbackOnly()
throws javax.transaction.SystemException
- Specified by:
setRollbackOnly
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
setTransactionTimeout
public void setTransactionTimeout(int arg)
throws javax.transaction.SystemException
- Specified by:
setTransactionTimeout
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
suspend
public javax.transaction.Transaction suspend()
throws javax.transaction.SystemException
- Specified by:
suspend
in interface javax.transaction.TransactionManager
- Throws:
javax.transaction.SystemException
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com