jremote jbase5.2.1

com.jbase.jremote.jca
Class TransactionManager

java.lang.Object
  extended by com.jbase.jremote.jca.TransactionManager
All Implemented Interfaces:
javax.resource.spi.LocalTransaction

public class TransactionManager
extends java.lang.Object
implements javax.resource.spi.LocalTransaction


Constructor Summary
protected TransactionManager(JRemoteManagedConnection managedConnection)
           
 
Method Summary
 void begin()
          Begin a transaction on this connection.
 void commit()
          Commit a transaction on this connection.
protected  boolean isManagedTransaction()
           
 void rollback()
          Rollback a transaction on this connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManager

protected TransactionManager(JRemoteManagedConnection managedConnection)
Method Detail

begin

public void begin()
           throws javax.resource.ResourceException

Begin a transaction on this connection. Performs a callback to the managed connection begin.

Specified by:
begin in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException
See Also:
#begin()

commit

public void commit()
            throws javax.resource.ResourceException

Commit a transaction on this connection. Performs a callback to the managed connection commit.

Specified by:
commit in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException
See Also:
#commit()

rollback

public void rollback()
              throws javax.resource.ResourceException

Rollback a transaction on this connection. Performs a callback to the managed connection rollback.

Specified by:
rollback in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException
See Also:
#rollback()

isManagedTransaction

protected boolean isManagedTransaction()

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.