WrapFactory

http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/WrapFactory.html
Java→jsでラッピングしてくれるクラスかな?
あとで実験してみよう。