public class SetPublicFieldExecutor extends SetExecutor
log
Constructor and Description |
---|
SetPublicFieldExecutor(org.slf4j.Logger log,
Introspector introspector,
Class clazz,
String property,
Object arg) |
Modifier and Type | Method and Description |
---|---|
protected void |
discover(Class clazz,
String property,
Object arg) |
Object |
execute(Object o,
Object value)
Execute method against context.
|
Field |
getField() |
protected Introspector |
getIntrospector() |
boolean |
isAlive()
Tell whether the executor is alive by looking
at the value of the method.
|
protected void |
setField(Field field) |
getMethod, setMethod
public SetPublicFieldExecutor(org.slf4j.Logger log, Introspector introspector, Class clazz, String property, Object arg)
log
- introspector
- clazz
- property
- arg
- public boolean isAlive()
SetExecutor
isAlive
in class SetExecutor
public Field getField()
protected void setField(Field field)
field
- protected Introspector getIntrospector()
protected void discover(Class clazz, String property, Object arg)
clazz
- property
- arg
- public Object execute(Object o, Object value) throws IllegalAccessException, InvocationTargetException
execute
in class SetExecutor
o
- value
- IllegalAccessException
InvocationTargetException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.