commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henrib <>
Subject Re: [JEXL] Are users likely to implement the Script interface?
Date Sun, 04 Dec 2011 18:46:14 GMT

sebb-2-2 wrote
> Don't know if this is an indication that the unit tests are incomplete
> or that there is not really a use case for implementing the interface,
> (other than the implementations which are already supplied.)
I don't think anyone would implement the Script interface without deriving /
delegating to an ExpressionImpl which is internal (by transitivity from the
protected ASTJexlScript member); so it'b be someone trying to extend Jexl
Jexl being usually featured and used as a glue / joint, JEXL Scripts are
usually used as classes members thus implementing Script is very unlikely.
I've been working on a redesign of the API for a potential V3 - a fresh and
clean API made to be stable but breaking free from the "ancient" Velocity
ties - and moved the ExpressionImpl equivalent to an internal package; I'll
commit soon in the trunk, tests ok, Checkstyle stuff remains mainly.

View this message in context:
Sent from the Commons - Dev mailing list archive at

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

View raw message