Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_NAME |
Constructor and Description |
---|
ClassRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
static Object |
executeSetMethod(Method m,
Object api,
Object arg)
Call to execute the set method
|
Map<String,Method> |
getReadClassMethods(String className) |
org.teiid.query.eval.TeiidScriptEngine |
getReadScriptEngine() |
Class<?> |
getRegisteredClass(String className) |
List<Class<?>> |
getRegisteredClasses() |
Class<?> |
getRegisteredClassUsingTableName(String tableName) |
Map<String,Method> |
getWriteClassMethods(String tableName) |
void |
registerClass(Class<?> clz) |
void |
unregisterClass(Class<?> clz) |
public static final String OBJECT_NAME
public void registerClass(Class<?> clz) throws TranslatorException
TranslatorException
public void unregisterClass(Class<?> clz)
public org.teiid.query.eval.TeiidScriptEngine getReadScriptEngine()
public Map<String,Method> getReadClassMethods(String className) throws TranslatorException
TranslatorException
public Map<String,Method> getWriteClassMethods(String tableName) throws TranslatorException
TranslatorException
public static Object executeSetMethod(Method m, Object api, Object arg) throws Exception
m
- is the method to executeapi
- is the object to execute the method onarg
- is the argument to be passed to the set methodException
public void cleanUp()
Copyright © 2016 JBoss by Red Hat. All rights reserved.