| org.apache.commons.jexl.util.introspection.VelMethod
VelMethod | public interface VelMethod (Code) | | Method used for regular method invocation.
$foo.bar()
since: 1.0 author: Geir Magnusson Jr. version: $Id: VelMethod.java 398513 2006-05-01 03:42:52Z dion $ |
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.
Parameters: o - the object Parameters: params - method parameters. | boolean | isCacheable() specifies if this VelMethod is cacheable and able to be reused for this
class of object it was returned for. |
getMethodName | String getMethodName()(Code) | | Gets the method name used.
method name |
getReturnType | Class getReturnType()(Code) | | returns the return type of the method invoked.
return type |
invoke | Object invoke(Object o, Object[] params) throws Exception(Code) | | invocation method - called when the method invocation should be performed
and a value returned.
Parameters: o - the object Parameters: params - method parameters. the result throws: Exception - on any error. |
isCacheable | boolean isCacheable()(Code) | | specifies if this VelMethod is cacheable and able to be reused for this
class of object it was returned for.
true if can be reused for this class, false if not |
|
|