javascript - How to not import system lib classes in java rhino lib script? -
I use Java Rhino Lib as a script engine in my application, so that users can control their application I do not want them to be used in Java system Lib Class Script, eg: "java.lang.Sytem.exit ()",
p> Does anyone know how to do ?? Thanks
call Context.setClass shutter (class shutter) appropriate
The classifier implementation implements the
visibleToScripts (string full classname) method, which you want to filter (or by) the scripts that are usable from the
Comments
Post a Comment