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