public class CacheJndiTmLookup extends Object implements CacheTmLookup
CacheTmLookup
interface that is using list of JNDI names to find TM.Constructor and Description |
---|
CacheJndiTmLookup() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getJndiNames()
Gets a list of JNDI names.
|
@Nullable TransactionManager |
getTm()
Gets Transaction Manager (TM).
|
void |
setJndiNames(List<String> jndiNames)
Sets a list of JNDI names used by this TM.
|
public List<String> getJndiNames()
public void setJndiNames(List<String> jndiNames)
jndiNames
- List of JNDI names that is used to find TM.@Nullable public @Nullable TransactionManager getTm() throws IgniteException
getTm
in interface CacheTmLookup
null
if TM cannot be looked up.IgniteException
- In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023