public class CacheReflectionTmLookup extends Object implements CacheTmLookup
CacheTmLookup
interface that attempts to obtain
JTA manager by calling static method on the class.Constructor and Description |
---|
CacheReflectionTmLookup()
Creates uninitialized reflection TM lookup.
|
CacheReflectionTmLookup(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 CacheReflectionTmLookup()
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 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.7.2 Release Date : February 6 2019