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.
|
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 TransactionManager getTm() throws IgniteException
getTm in interface CacheTmLookupnull if TM cannot be looked up.IgniteException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016