org.apache.commons.jexl.util
public class PropertyExecutor extends AbstractExecutor
Modifier and Type | Field and Description |
---|---|
protected Introspector |
introspector
The JEXL introspector used.
|
protected java.lang.String |
methodUsed
The method used.
|
method, rlog
Constructor and Description |
---|
PropertyExecutor(org.apache.commons.logging.Log r,
Introspector ispctr,
java.lang.Class clazz,
java.lang.String property)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
discover(java.lang.Class clazz,
java.lang.String property)
Locate the getter method for this property.
|
java.lang.Object |
execute(java.lang.Object o)
Execute method against context.
|
getMethod, isAlive
protected Introspector introspector
protected java.lang.String methodUsed
public PropertyExecutor(org.apache.commons.logging.Log r, Introspector ispctr, java.lang.Class clazz, java.lang.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(java.lang.Class clazz, java.lang.String property)
clazz
- The class being analyzed.property
- Name of the property.public java.lang.Object execute(java.lang.Object o) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
execute
in class AbstractExecutor
o
- The owner.java.lang.IllegalAccessException
- Method is inaccessible.java.lang.reflect.InvocationTargetException
- Method body throws an exception.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.