public interface JexlMethod
${foo.bar()}
Modifier and Type | Method and Description |
---|---|
Class<?> |
getReturnType()
returns the return type of the method invoked.
|
Object |
invoke(Object obj,
Object[] params)
Invocation method, called when the method invocation should be performed
and a value returned.
|
boolean |
isCacheable()
Specifies if this JexlMethod is cacheable and able to be reused for this
class of object it was returned for.
|
boolean |
tryFailed(Object rval)
Checks whether a tryInvoke failed or not.
|
Object |
tryInvoke(String name,
Object obj,
Object[] params)
Attempts to reuse this JexlMethod, checking that it is compatible with
the actual set of arguments.
|
Object invoke(Object obj, Object[] params) throws Exception
obj
- the objectparams
- method parameters.Exception
- on any error.Object tryInvoke(String name, Object obj, Object[] params)
obj
- the object to invoke the method uponname
- the method nameparams
- the method argumentsboolean tryFailed(Object rval)
rval
- the value returned by tryInvokeboolean isCacheable()
Class<?> getReturnType()
Copyright © 2016 Internet2. All rights reserved.