public static final class JBossLocalTransactionProvider.Builder extends Object
public int getStaleTransactionTime()
public JBossLocalTransactionProvider.Builder setStaleTransactionTime(int staleTransactionTime)
staleTransactionTime - the stale transaction time, in secondspublic org.jboss.tm.ExtendedJBossXATerminator getExtendedJBossXATerminator()
public JBossLocalTransactionProvider.Builder setExtendedJBossXATerminator(org.jboss.tm.ExtendedJBossXATerminator ext)
ext - the extended JBoss XA terminator (must not be null)@Deprecated public javax.resource.spi.XATerminator getXATerminator()
@Deprecated public JBossLocalTransactionProvider.Builder setXATerminator(javax.resource.spi.XATerminator xt)
xt - the XA terminator (must not be null)public TransactionManager getTransactionManager()
public JBossLocalTransactionProvider.Builder setTransactionManager(TransactionManager tm)
tm - the transaction manager@Deprecated public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
@Deprecated public JBossLocalTransactionProvider.Builder setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry tsr)
tsr - the transaction synchronization registrypublic JBossLocalTransactionProvider.Builder setXAResourceRecoveryRegistry(org.jboss.tm.XAResourceRecoveryRegistry reg)
reg - xa resource recovery registry (must not be null)public JBossLocalTransactionProvider.Builder setXARecoveryLogDirRelativeToPath(Path path)
path - the xa recovery log file relative to path (must not be nullpublic JBossLocalTransactionProvider build()
null, an exception is thrown.null)IllegalArgumentException - if a required property is nullCopyright © 2018 JBoss by Red Hat. All rights reserved.