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 VelPropertyGet
o
- the object to get the property from.Exception
- on any error.public boolean isCacheable()
isCacheable
in interface VelPropertyGet
public String getMethodName()
getMethodName
in interface VelPropertyGet
public boolean isAlive()
VelPropertyGet
isAlive
in interface VelPropertyGet
Copyright © 2014 The Apache Software Foundation. All rights reserved.