public class ThreadSafeSimpleEvaluator extends SimpleEvaluator implements IEvaluator
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getFieldInvoker(java.lang.reflect.Type type,
java.lang.String name,
MemberInvokerData<T> info)
Generates an instance of the specified interface to provide one field getter.
|
<T> T |
getMethodInvoker(java.lang.reflect.Type type,
java.lang.String name,
MemberInvokerData<T> info)
Generates an instance of the specified interface to invoke one method.
|
<T> T |
setFieldInvoker(java.lang.reflect.Type type,
java.lang.String name,
MemberInvokerData<T> info)
Generates an instance of the specified interface to provide one field setter.
|
createEmptyClass, createEvaluator, exec, generateEvalInvokerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEmptyClass, createEvaluator, exec, generateEvalInvokerpublic <T> T getMethodInvoker(java.lang.reflect.Type type,
java.lang.String name,
MemberInvokerData<T> info)
throws StructuralIntercessionException
Generates an instance of the specified interface to invoke one method. The first parameter of the interface must be the class owner type, meaning, the class where the method is. This parameter is going to be the instance over the invokations are called.
getMethodInvoker in interface IEvaluatorgetMethodInvoker in class SimpleEvaluatortype - The class where the method isname - The name of the methodinfo - The invoker data needed to obtain the invoker of the specified
methodStructuralIntercessionException - If a problem was encountered before finishingpublic <T> T getFieldInvoker(java.lang.reflect.Type type,
java.lang.String name,
MemberInvokerData<T> info)
throws StructuralIntercessionException
Generates an instance of the specified interface to provide one field getter. The first parameter of the interface must be the class owner type, meaning, the class where the field is.
getFieldInvoker in interface IEvaluatorgetFieldInvoker in class SimpleEvaluatortype - The class where the field isname - The name of the fieldinfo - The invoker data needed to obtain the invoker of the specified
fieldStructuralIntercessionException - If a problem was encountered before finishingpublic <T> T setFieldInvoker(java.lang.reflect.Type type,
java.lang.String name,
MemberInvokerData<T> info)
throws StructuralIntercessionException
Generates an instance of the specified interface to provide one field setter. The first parameter of the interface must be the class owner type, meaning, the class where the field is.
setFieldInvoker in interface IEvaluatorsetFieldInvoker in class SimpleEvaluatortype - The class where the field isname - The name of the fieldinfo - The invoker data needed to obtain the invoker of the specified
fieldStructuralIntercessionException - If a problem was encountered before finishing