Interface TransactionCoordinatorBuilder.Options
- All Known Subinterfaces:
EventSource
,SessionImplementor
,SharedSessionContractImplementor
- All Known Implementing Classes:
AbstractDelegateSessionImplementor
,AbstractSharedSessionContract
,SessionDelegatorBaseImpl
,SessionImpl
,SharedSessionDelegatorBaseImpl
,StatelessSessionImpl
,ToOneDelegateSessionImplementor
- Enclosing interface:
- TransactionCoordinatorBuilder
public static interface TransactionCoordinatorBuilder.Options
Access to options to are specific to each
TransactionCoordinator
instance.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether an active transaction should be automatically joined.
-
Method Details
-
shouldAutoJoinTransaction
boolean shouldAutoJoinTransaction()Indicates whether an active transaction should be automatically joined. Only relevant for JTA-based TransactionCoordinator instances.- Returns:
true
indicates the active transaction should be auto joined;false
indicates it should not (untilTransactionCoordinator.explicitJoin()
is called).
-