commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <nest...@yahoo.com>
Subject Re: [scxml] SCXMLExecutor#getSCInstance ... any chance to make it public?
Date Thu, 20 Apr 2006 16:36:25 GMT
Sure I just added Bug 39367 ... 
Thanks

--- Rahul Akolkar <rahul.akolkar@gmail.com> wrote:

> On 4/20/06, Nestor Urquiza <nestoru@yahoo.com>
> wrote:
> > I put the example in my last response to Faish and
> of
> > course if having the getter
> > SCXMLExecutor#getRootContext() can be avoided for
> my
> > use case I rather do it.
> >
> > I am using a propietary kind of servlet container
> and
> > the way context is managed is with a simple Map
> but I
> > would really like to have my code at "bridge"
> level
> > not dependant on this particular servlet
> > implementation. I can even put the rootCtx in the
> > context as I am doing with my exec in the "system"
> > (also called most recently "domain" by you) layer
> > because the main problem of course is that it is
> not
> > enough to have the exec object if I want to
> manipulate
> > the root context.
> >
> > So given those facts do you have an alternative
> for my
> > usecase other than making available
> > SCXMLExecutor#getRootContext()?
> <snip/>
> 
> Ah, proprietary stuff ;-) You could provide a root
> context that was a
> JexlContext instantiated using the Map argument
> constructor, that way
> whatever is in the "simple Map" above is in the
> Context. The only
> difference in moving to another container would
> probably be how that
> Map is obtained, maybe that is significant enough
> for making this
> addition.
> 
> Can you file a report in bugzilla [1] with some
> details on how the
> getter helps interoperability for your usage? I know
> its a small
> change, but we should have better archival for why
> someone would like
> to set vars on the root context (rather than setting
> them in the
> "environment" itself) before making the change, IMO.
> 
> -Rahul
> 
> [1]
>
http://jakarta.apache.org/commons/sandbox/scxml/issue-tracking.html
> 
> 
> > Thanks!
> >
> <snap/>
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message