commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weikuo Liaw (JIRA)" <>
Subject [jira] Created: (JEXL-28) Enhance the resolution of properties and methods
Date Thu, 09 Nov 2006 01:56:37 GMT
Enhance the resolution of properties and methods

                 Key: JEXL-28
             Project: Commons JEXL
          Issue Type: Improvement
    Affects Versions: 1.1
            Reporter: Weikuo Liaw
            Priority: Critical

JexlContext need provide additional methods, such as
1) Object getProperty(Object object, String propName);
2) void setProperty(Object object, String propName, Object propValue);
3) Object invokeMethod(Object object, String methodName, Object[] params);
where object can be null for the non-object properties/methods.

ASTIdentifier, ASTArrayAccess, ASTAssignment, and ASTMethod can use them for unresolvable

This is similar to what are changed by myFacese over commons EL to support friendly VariableResolver
and PropertyResolver for applications.

I use "ObjectinvokeMethod()" instead of "Method getMethod(object, methodNae)", because a method
may not be implemented as a java method. Such as in commons validator, validators are registered
in the configuration file of validation forms.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message