public class JdbcResourceLocalTransactionCoordinatorImpl.TransactionDriverControlImpl extends Object implements TransactionCoordinator.TransactionDriver
Constructor and Description |
---|
TransactionDriverControlImpl(JdbcResourceTransaction jdbcResourceTransaction) |
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begin the physical transaction
|
void |
commit()
Commit the physical transaction
|
protected void |
errorIfInvalid() |
TransactionStatus |
getStatus() |
protected void |
invalidate() |
void |
markRollbackOnly() |
void |
rollback()
Rollback the physical transaction
|
public TransactionDriverControlImpl(JdbcResourceTransaction jdbcResourceTransaction)
protected void invalidate()
public void begin()
TransactionCoordinator.TransactionDriver
begin
in interface TransactionCoordinator.TransactionDriver
protected void errorIfInvalid()
public void commit()
TransactionCoordinator.TransactionDriver
commit
in interface TransactionCoordinator.TransactionDriver
public void rollback()
TransactionCoordinator.TransactionDriver
rollback
in interface TransactionCoordinator.TransactionDriver
public TransactionStatus getStatus()
getStatus
in interface TransactionCoordinator.TransactionDriver
public void markRollbackOnly()
markRollbackOnly
in interface TransactionCoordinator.TransactionDriver
Copyright © 2016 JBoss by Red Hat. All rights reserved.