-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Daniel and Leszek,
> AFAIU rhino (flowscript engine) uses reflection to resolve methods and > fields. It doesn't really matter that you pass some narrow interface > because reflection will expose full underlying object functionality. Rhino is an implementation of ECMAScript (a.k.a JavaScript). Such casting is not necessary because ECMAScript is not a statically-typed language. The Rhino implemenation is capable of wrapping plain old Java objects and exposing them as script objects, almost certainly using reflection. You should check out the spec some time. It's a boring read, but some of the higher-level things you can do with ECMAScript are really cool. http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf Brian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: What is this? http://pgp.ardvaark.net iD8DBQFCHJx83YdPnMKx1eMRA7sTAJ0eqmdovY8rNdgVnLznvQhVG2RJpACfblqm +ggquWl2uDhDUb1Ha6+p7d8= =WXjS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]