oracle.adfnmc.el.impl.uithreadsync
Class UiThreadTreeMethodExpression
java.lang.Object
de.odysseus.el.TreeMethodExpression
oracle.adfnmc.el.impl.uithreadsync.UiThreadTreeMethodExpression
- All Implemented Interfaces:
- Expression, MethodExpression
public class UiThreadTreeMethodExpression
- extends de.odysseus.el.TreeMethodExpression
Method Summary |
java.lang.Object |
invoke(ELContext context,
java.lang.Object[] paramValues)
If a String literal is specified as the expression, returns the
String literal coerced to the expected return type of the method
signature. |
java.lang.Object |
invoke(java.lang.Object[] paramValues)
Convenience wrapper for invoke(ELContext, Object[]), for when there is a single ELContext
referencable by implementors |
Methods inherited from class de.odysseus.el.TreeMethodExpression |
dump, equals, getExpressionString, getMethodInfo, getMethodInfo, hashCode, isDeferred, isLiteralText, isReturnSecret, setReturnSecret, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UiThreadTreeMethodExpression
public UiThreadTreeMethodExpression(de.odysseus.el.tree.TreeStore store,
FunctionMapper functions,
VariableMapper variables,
java.lang.String expr,
java.lang.Class returnType,
java.lang.Class[] paramTypes)
invoke
public java.lang.Object invoke(ELContext context,
java.lang.Object[] paramValues)
throws ELException
- Description copied from interface:
MethodExpression
- If a String literal is specified as the expression, returns the
String literal coerced to the expected return type of the method
signature. An
ELException
is thrown if
expectedReturnType
is void or if the coercion of the String literal
to the expectedReturnType
yields an error (see Section "1.18 Type
Conversion" of the EL specification).
If not a String literal, evaluates the expression
relative to the provided context, invokes the method that was
found using the supplied parameters, and returns the result of
the method invocation.
Any parameters passed to this method is ignored if isLiteralText()
is true.
- Specified by:
invoke
in interface MethodExpression
- Overrides:
invoke
in class de.odysseus.el.TreeMethodExpression
- Parameters:
context
- The context of this evaluation.paramValues
- The parameters to pass to the method, or
null
if no parameters.
- Returns:
- the result of the method invocation (
null
if
the method has a void
return type).
- Throws:
PropertyNotFoundException
- if one of the property
resolutions failed because a specified variable or property
does not exist or is not readable.
MethodNotFoundException
- if no suitable method can be found.
ELException
- if a String literal is specified and
expectedReturnType of the MethodExpression is void or if the coercion of the String literal
to the expectedReturnType yields an error (see Section "1.18 Type
Conversion").
invoke
public java.lang.Object invoke(java.lang.Object[] paramValues)
throws ELException
- Description copied from interface:
MethodExpression
- Convenience wrapper for invoke(ELContext, Object[]), for when there is a single ELContext
referencable by implementors
- Specified by:
invoke
in interface MethodExpression
- Overrides:
invoke
in class de.odysseus.el.TreeMethodExpression
- Throws:
ELException
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.