public class PropertyExecutor extends AbstractExecutor
| Modifier and Type | Field and Description |
|---|---|
protected Introspector |
introspector
The JEXL introspector used.
|
protected String |
methodUsed
The method used.
|
method, rlog| Constructor and Description |
|---|
PropertyExecutor(org.apache.commons.logging.Log r,
Introspector ispctr,
Class clazz,
String property)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
discover(Class clazz,
String property)
Locate the getter method for this property.
|
Object |
execute(Object o)
Execute method against context.
|
getMethod, isAliveprotected Introspector introspector
protected String methodUsed
public PropertyExecutor(org.apache.commons.logging.Log r,
Introspector ispctr,
Class clazz,
String property)
r - The log for this property executor instance.ispctr - The JEXL introspector.clazz - The class being examined.property - The property being addressed.protected void discover(Class clazz, String property)
clazz - The class being analyzed.property - Name of the property.public Object execute(Object o) throws IllegalAccessException, InvocationTargetException
execute in class AbstractExecutoro - The owner.IllegalAccessException - Method is inaccessible.InvocationTargetException - Method body throws an exception.Copyright © 2016 The Apache Software Foundation. All rights reserved.