public class GridCacheJndiTmLookup extends Object implements GridCacheTmLookup
GridCacheTmLookup interface that is using list of JNDI names to find TM.| Constructor and Description |
|---|
GridCacheJndiTmLookup() |
| 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 org.gridgain.grid.GridException
getTm in interface GridCacheTmLookupnull if TM cannot be looked up.org.gridgain.grid.GridException - In case of error.
GridGain Platform : ver. 6.2.0 Release Date : August 25 2014