类 JtaTransactionCoordinatorImpl.TransactionDriverControlImpl
- java.lang.Object
-
- org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.TransactionDriverControlImpl
-
- 所有已实现的接口:
TransactionCoordinator.TransactionDriver
public class JtaTransactionCoordinatorImpl.TransactionDriverControlImpl extends Object implements TransactionCoordinator.TransactionDriver
Implementation of the LocalInflow for this TransactionCoordinator. Allows the local transaction (Transactionto callback into this TransactionCoordinator for the purpose of driving the underlying JTA transaction.
-
-
构造器概要
构造器 构造器 说明 TransactionDriverControlImpl(JtaTransactionAdapter jtaTransactionAdapter)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidbegin()Begin the physical transactionvoidcommit()Commit the physical transactionprotected voiderrorIfInvalid()TransactionStatusgetStatus()protected voidinvalidate()voidmarkRollbackOnly()voidrollback()Rollback the physical transaction-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.resource.transaction.spi.TransactionCoordinator.TransactionDriver
isActive
-
-
-
-
构造器详细资料
-
TransactionDriverControlImpl
public TransactionDriverControlImpl(JtaTransactionAdapter jtaTransactionAdapter)
-
-
方法详细资料
-
invalidate
protected void invalidate()
-
begin
public void begin()
从接口复制的说明:TransactionCoordinator.TransactionDriverBegin the physical transaction
-
errorIfInvalid
protected void errorIfInvalid()
-
commit
public void commit()
从接口复制的说明:TransactionCoordinator.TransactionDriverCommit the physical transaction
-
rollback
public void rollback()
从接口复制的说明:TransactionCoordinator.TransactionDriverRollback the physical transaction
-
getStatus
public TransactionStatus getStatus()
-
markRollbackOnly
public void markRollbackOnly()
-
-