|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl.util.introspection.UberspectImpl.VelMethodImpl
public class UberspectImpl.VelMethodImpl
An implementation of VelMethod.
| Field Summary | |
|---|---|
protected java.lang.reflect.Method |
method
the method. |
| Constructor Summary | |
|---|---|
UberspectImpl.VelMethodImpl(java.lang.reflect.Method m)
Create a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMethodName()
Gets the method name used. |
java.lang.Class |
getReturnType()
returns the return type of the method invoked. |
java.lang.Object |
invoke(java.lang.Object o,
java.lang.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 java.lang.reflect.Method method
| Constructor Detail |
|---|
public UberspectImpl.VelMethodImpl(java.lang.reflect.Method m)
m - the method.| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object o,
java.lang.Object[] params)
throws java.lang.Exception
invoke in interface VelMethodo - the objectparams - method parameters.
java.lang.Exception - on any error.public boolean isCacheable()
isCacheable in interface VelMethodpublic java.lang.String getMethodName()
getMethodName in interface VelMethodpublic java.lang.Class getReturnType()
getReturnType in interface VelMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||