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:
invoke
in interface VelMethod
- Following copied from interface:
org.apache.commons.jexl.util.introspection.VelMethod
- Parameters:
o
- the objectparams
- method parameters.- Returns:
- the result
- Throws:
Exception
- on any error.
isCacheable
public boolean isCacheable()
- {@inheritDoc}
- Specified by:
isCacheable
in 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:
getMethodName
in interface VelMethod
- Following copied from interface:
org.apache.commons.jexl.util.introspection.VelMethod
- Returns:
- method name
getReturnType
public Class getReturnType()
- {@inheritDoc}
- Specified by:
getReturnType
in 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.