Class SimpleBootstrapContext

java.lang.Object
org.springframework.jca.support.SimpleBootstrapContext
All Implemented Interfaces:
BootstrapContext

public class SimpleBootstrapContext extends Object implements BootstrapContext
Simple implementation of the JCA 1.7 BootstrapContext interface, used for bootstrapping a JCA ResourceAdapter in a local environment.

Delegates to the given WorkManager and XATerminator, if any. Creates simple local instances of java.util.Timer.

Since:
2.0.3
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • SimpleBootstrapContext

      public SimpleBootstrapContext(@Nullable WorkManager workManager)
      Create a new SimpleBootstrapContext for the given WorkManager, with no XATerminator available.
      Parameters:
      workManager - the JCA WorkManager to use (may be null)
    • SimpleBootstrapContext

      public SimpleBootstrapContext(@Nullable WorkManager workManager, @Nullable XATerminator xaTerminator)
      Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.
      Parameters:
      workManager - the JCA WorkManager to use (may be null)
      xaTerminator - the JCA XATerminator to use (may be null)
    • SimpleBootstrapContext

      public SimpleBootstrapContext(@Nullable WorkManager workManager, @Nullable XATerminator xaTerminator, @Nullable TransactionSynchronizationRegistry transactionSynchronizationRegistry)
      Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry.
      Parameters:
      workManager - the JCA WorkManager to use (may be null)
      xaTerminator - the JCA XATerminator to use (may be null)
      transactionSynchronizationRegistry - the TransactionSynchronizationRegistry to use (may be null)
      Since:
      5.0
  • Method Details