public class TransactionManager
extends java.lang.Object
implements javax.resource.spi.LocalTransaction
Modifier | Constructor and Description |
---|---|
protected |
TransactionManager(JRemoteManagedConnection managedConnection) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected TransactionManager(JRemoteManagedConnection managedConnection)
public void begin() throws javax.resource.ResourceException
Begin a transaction on this connection. Performs a callback to the managed connection begin.
begin
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
#begin()
public void commit() throws javax.resource.ResourceException
Commit a transaction on this connection. Performs a callback to the managed connection commit.
commit
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
#commit()
public void rollback() throws javax.resource.ResourceException
Rollback a transaction on this connection. Performs a callback to the managed connection rollback.
rollback
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
#rollback()
protected boolean isManagedTransaction()