org.apache.commons.jexl.util.introspection
Class  UberspectImpl.VelMethodImpl
java.lang.Object
  |
  +--org.apache.commons.jexl.util.introspection.UberspectImpl.VelMethodImpl
- All Implemented Interfaces: 
- VelMethod
- Enclosing class: 
- UberspectImpl
- public class UberspectImpl.VelMethodImpl- extends Object- implements VelMethod
An implementation of VelMethod.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
method
protected Method method
- the method.
UberspectImpl.VelMethodImpl
public UberspectImpl.VelMethodImpl(Method m)
- Create a new instance.- 
- Parameters:
- m- the method.
 
invoke
public Object invoke(Object o,
                     Object[] params)
              throws Exception
- {@inheritDoc}- 
- Specified by: 
- invokein interface- VelMethod
 
- Following copied from interface: org.apache.commons.jexl.util.introspection.VelMethod
- 
- Parameters:
- o- the object
- params- method parameters.
- Returns:
- the result
- Throws:
- Exception- on any error.
 
isCacheable
public boolean isCacheable()
- {@inheritDoc}- 
- Specified by: 
- isCacheablein interface- VelMethod
 
- Following copied from interface: org.apache.commons.jexl.util.introspection.VelMethod
- 
- Returns:
- true if can be reused for this class, false if not
 
getMethodName
public String getMethodName()
- {@inheritDoc}- 
- Specified by: 
- getMethodNamein interface- VelMethod
 
- Following copied from interface: org.apache.commons.jexl.util.introspection.VelMethod
- 
- Returns:
- method name
 
getReturnType
public Class getReturnType()
- {@inheritDoc}- 
- Specified by: 
- getReturnTypein interface- VelMethod
 
- Following copied from interface: org.apache.commons.jexl.util.introspection.VelMethod
- 
- Returns:
- return type
 
Copyright © 2003-2006 The Apache Software Foundation. All Rights Reserved.