You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Michael Hahn <MH...@Comcast.net> on 2006/10/14 23:00:06 UTC

[JEXL] Are read-only contexts workable?

I would like to use JEXL for a project I'm working on. However, I need 
to know if the map exported by the JexlContext would ever have the put, 
putall, or remove called on it.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [JEXL] Are read-only contexts workable?

Posted by Dion Gillard <di...@gmail.com>.
Sure. During the assignment of variables ( x = 2; ) the context should
get updated with a put.

I don't believe we use putAll or remove, but would need to check the
code for sure.

On 10/15/06, Michael Hahn <MH...@comcast.net> wrote:
> I would like to use JEXL for a project I'm working on. However, I need
> to know if the map exported by the JexlContext would ever have the put,
> putall, or remove called on it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


-- 
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org