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 build()
null, an exception is thrown.null)IllegalArgumentException - if a required property is nullCopyright © 2017 JBoss by Red Hat. All rights reserved.