public interface VelMethod
Modifier and Type | Method and Description |
---|---|
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.
|
Object invoke(Object o, Object[] params) throws Exception
o
- the objectparams
- method parameters.Exception
- on any error.boolean isCacheable()
String getMethodName()
Class getReturnType()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.