public class UberspectImpl.VelMethodImpl extends Object implements VelMethod
VelMethod.| Constructor and Description |
|---|
VelMethodImpl(Method m)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMethodName()
returns 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
|
protected Method method
public VelMethodImpl(Method m)
m - the method.public Object invoke(Object o, Object[] params) throws Exception
public boolean isCacheable()
isCacheable in interface VelMethodpublic String getMethodName()
getMethodName in interface VelMethodpublic Class getReturnType()
getReturnType in interface VelMethodCopyright © 2016 The Apache Software Foundation. All rights reserved.