org.apache.commons.jexl.util.introspection
public class UberspectImpl.VelGetterImpl extends java.lang.Object implements VelPropertyGet
Modifier and Type | Field and Description |
---|---|
protected AbstractExecutor |
ae
executor for performing the get.
|
Constructor and Description |
---|
UberspectImpl.VelGetterImpl(AbstractExecutor exec)
Create the getter using an
AbstractExecutor to
do the work. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName()
returns the method name used to return this 'property'.
|
java.lang.Object |
invoke(java.lang.Object o)
invocation method - called when the 'get action' should be performed and
a value returned.
|
boolean |
isAlive()
Tell whether the method underlying this 'property' is alive by
checking to see if represents a successful name resolution.
|
boolean |
isCacheable()
specifies if this VelPropertyGet is cacheable and able to be reused for
this class of object it was returned for.
|
protected AbstractExecutor ae
public UberspectImpl.VelGetterImpl(AbstractExecutor exec)
AbstractExecutor
to
do the work.exec
- the executor.public java.lang.Object invoke(java.lang.Object o) throws java.lang.Exception
invoke
in interface VelPropertyGet
o
- the object to get the property from.java.lang.Exception
- on any error.public boolean isCacheable()
isCacheable
in interface VelPropertyGet
public java.lang.String getMethodName()
getMethodName
in interface VelPropertyGet
public boolean isAlive()
VelPropertyGet
isAlive
in interface VelPropertyGet
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.