Class CacheJndiTmLookup

    • Constructor Detail

      • CacheJndiTmLookup

        public CacheJndiTmLookup()
    • Method Detail

      • getJndiNames

        public List<String> getJndiNames()
        Gets a list of JNDI names.
        Returns:
        List of JNDI names that is used to find TM.
      • setJndiNames

        public void setJndiNames​(List<String> jndiNames)
        Sets a list of JNDI names used by this TM.
        Parameters:
        jndiNames - List of JNDI names that is used to find TM.
      • getTm

        @Nullable
        public @Nullable javax.transaction.TransactionManager getTm()
                                                             throws IgniteException
        Gets Transaction Manager (TM).
        Specified by:
        getTm in interface CacheTmLookup
        Returns:
        TM or null if TM cannot be looked up.
        Throws:
        IgniteException - In case of error.