org.apache.ignite.cache.jta

## Interface CacheTmLookup

- All Known Implementing Classes:
    CacheJndiTmLookup, CacheReflectionTmLookup

      public interface CacheTmLookup

  Allows grid to use different transactional systems. Implement this interface to look up native transaction manager within your environment. Transaction manager lookup is configured via `TransactionConfiguration.getTxManagerLookupClassName()` method.

  The following implementations are provided out of the box:

  - `CacheJndiTmLookup` utilizes a configured JNDI name to look up a transaction manager.
  - `CacheReflectionTmLookup` uses reflection to call a method on a given class to get to transaction manager.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `@Nullable TransactionManager` | `getTm()` Gets Transaction Manager (TM).

- - ### Method Detail

    - #### getTm

          @Nullable
          @Nullable TransactionManager getTm()
                                                throws IgniteException

      Gets Transaction Manager (TM).
      Returns:
        TM or `null` if TM cannot be looked up.
      Throws:
        `IgniteException` - In case of error.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.0
Release Date | : October 15 2020