You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by bu...@apache.org on 2004/07/25 18:25:58 UTC

DO NOT REPLY [Bug 30315] - A tidier hiberarchy and timely script engines update

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30315>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30315

A tidier hiberarchy and timely script engines update





------- Additional Comments From zwayout@hotmail.com  2004-07-25 16:25 -------
Also, could your guys please think about something like ScriptContext. This 
will help multiple script language share objects via BSF.

Code sample
--
ScriptContext ctx = BSFManager.getCurrentContext();
bsfMgr.exec(ctx, <and some javascript>);
bsfMgr.exec(ctx, <and some python>); // using the same context and share all 
global variables(and functions?) defined in above javascript

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