Edward Yakop wrote: > On Tue, Apr 15, 2008 at 3:31 PM, Rickard Öberg <[EMAIL PROTECTED]> wrote: > On unrelated question. > > How do u access infrastructure (composite/object builder), query, > services, etcs in the script?
Good question, and the same goes for JavaScript. The easiest way is to do a mixin in Java that gets ahold of the resources using DI and then we could inject a "this" reference to that mixin (probably as a private mixin) into Ruby to access them. Either that or we have to implement injection into every kind of script language, which sounds tricky. Any suggestions on this one is welcome. /Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

