|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JexlMethod
Interface used for regular method invocation.
Ex.
${foo.bar()}
| Method Summary | |
|---|---|
java.lang.Class<?> |
getReturnType()
returns the return type of the method invoked. |
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.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(java.lang.Object rval)
Checks whether a tryInvoke failed or not. |
java.lang.Object |
tryInvoke(java.lang.String name,
java.lang.Object obj,
java.lang.Object[] params)
Attempts to reuse this JexlMethod, checking that it is compatible with the actual set of arguments. |
| Method Detail |
|---|
java.lang.Object invoke(java.lang.Object obj,
java.lang.Object[] params)
throws java.lang.Exception
obj - the objectparams - method parameters.
java.lang.Exception - on any error.
java.lang.Object tryInvoke(java.lang.String name,
java.lang.Object obj,
java.lang.Object[] params)
obj - the object to invoke the method uponname - the method nameparams - the method arguments
boolean tryFailed(java.lang.Object rval)
rval - the value returned by tryInvoke
boolean isCacheable()
java.lang.Class<?> getReturnType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||