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 Type
    Method
    Description
    boolean
    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 (until TransactionCoordinator.explicitJoin() is called).