public class UberspectImpl.VelGetterImpl extends Object implements VelPropertyGet
| Modifier and Type | Field and Description |
|---|---|
protected AbstractExecutor |
ae
executor for performing the get.
|
| Constructor and Description |
|---|
VelGetterImpl(AbstractExecutor exec)
Create the getter using an
AbstractExecutor to
do the work. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethodName()
returns the method name used to return this 'property'.
|
Object |
invoke(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 VelGetterImpl(AbstractExecutor exec)
AbstractExecutor to
do the work.exec - the executor.public Object invoke(Object o) throws Exception
invoke in interface VelPropertyGeto - the object to get the property from.Exception - on any error.public boolean isCacheable()
isCacheable in interface VelPropertyGetpublic String getMethodName()
getMethodName in interface VelPropertyGetpublic boolean isAlive()
VelPropertyGetisAlive in interface VelPropertyGetCopyright © 2016 The Apache Software Foundation. All rights reserved.