public class GridCacheReflectionTmLookup extends Object implements GridCacheTmLookup
GridCacheTmLookup interface that attempts to obtain
JTA manager by calling static method on the class.| Constructor and Description |
|---|
GridCacheReflectionTmLookup()
Creates uninitialized reflection TM lookup.
|
GridCacheReflectionTmLookup(String cls,
String mtd)
Creates generic TM lookup with given class and method name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Gets class name to use.
|
String |
getMethodName()
Gets method name.
|
TransactionManager |
getTm()
Gets Transaction Manager (TM).
|
void |
setClassName(String cls)
Sets class name to use.
|
void |
setMethodName(String mtd)
Sets method name.
|
public GridCacheReflectionTmLookup()
public String getClassName()
public void setClassName(String cls)
cls - Class name to use.public String getMethodName()
public void setMethodName(String mtd)
mtd - Method name to use.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