| Constructor and Description |
|---|
MethodTarget(java.lang.Object targetObject,
java.lang.reflect.Method targetMethod)
Construct a target whose value is set via a method
|
MethodTarget(java.lang.Object targetObject,
java.lang.String methodName)
Construct a target whose value is set via a method
|
| Modifier and Type | Method and Description |
|---|---|
void |
set(java.lang.Object value)
Set the target's value by invoking the targetMethod.
|
protected static Log log
public MethodTarget(java.lang.Object targetObject,
java.lang.reflect.Method targetMethod)
targetObject - is the object containing the value to be settargetMethod - is the Method used to set the valuepublic MethodTarget(java.lang.Object targetObject,
java.lang.String methodName)
throws java.lang.NoSuchMethodException
targetObject - is the object containing the value to be setmethodName - is the name of the Methodjava.lang.NoSuchMethodException