org.exolab.castor.jdo.transactionmanager.spi
Class LocalTransactionManager

java.lang.Object
  extended byorg.exolab.castor.jdo.transactionmanager.spi.LocalTransactionManager

public final class LocalTransactionManager
extends java.lang.Object

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

Constructor Summary
LocalTransactionManager()
           
 
Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 Transaction getTransaction()
           
 void resume(Transaction arg)
           
 void rollback()
           
 void setRollbackOnly()
           
 void setTransactionTimeout(int arg)
           
 Transaction suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTransactionManager

public LocalTransactionManager()
Method Detail

begin

public void begin()
           throws SystemException
Throws:
SystemException

commit

public void commit()
            throws SystemException
Throws:
SystemException

getStatus

public int getStatus()
              throws SystemException
Throws:
SystemException

getTransaction

public Transaction getTransaction()
                           throws SystemException
Throws:
SystemException

resume

public void resume(Transaction arg)
            throws SystemException
Throws:
SystemException

rollback

public void rollback()
              throws SystemException
Throws:
SystemException

setRollbackOnly

public void setRollbackOnly()
                     throws SystemException
Throws:
SystemException

setTransactionTimeout

public void setTransactionTimeout(int arg)
                           throws SystemException
Throws:
SystemException

suspend

public Transaction suspend()
                    throws SystemException
Throws:
SystemException


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com