|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jexl.util.introspection.UberspectImpl.VelMethodImpl
An implementation of VelMethod
.
Field Summary | |
---|---|
protected Method |
method
the method. |
Constructor Summary | |
---|---|
UberspectImpl.VelMethodImpl(Method m)
Create a new instance. |
Method Summary | |
---|---|
String |
getMethodName()
Gets the method name used. |
Class |
getReturnType()
returns the return type of the method invoked. |
Object |
invoke(Object o,
Object[] params)
invocation method - called when the method invocation should be performed and a value returned. |
boolean |
isCacheable()
specifies if this VelMethod is cacheable and able to be reused for this class of object it was returned for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Method method
Constructor Detail |
public UberspectImpl.VelMethodImpl(Method m)
m
- the method.Method Detail |
public Object invoke(Object o, Object[] params) throws Exception
invoke
in interface VelMethod
o
- the objectparams
- method parameters.
Exception
- on any error.public boolean isCacheable()
isCacheable
in interface VelMethod
public String getMethodName()
getMethodName
in interface VelMethod
public Class getReturnType()
getReturnType
in interface VelMethod
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |