|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.world.Scripting
Wrapper interface for Jakarta's BSF (Bean Scripting Framework). Provides a common interface for Jython, JRuby, BeanShell, and other scripting languages supported by Wyvern.
Method Summary | |
static org.apache.bsf.BSFManager |
getBSF()
Returns a shared BSFManager object. |
static java.lang.Object |
rubyEval(java.lang.String expr)
Calls the shared BSFManager instance to evaluate a Ruby expression. |
static void |
rubyExec(java.lang.Object script)
Calls the shared BSFManager instance to execute a Ruby script. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.apache.bsf.BSFManager getBSF()
public static java.lang.Object rubyEval(java.lang.String expr) throws java.lang.Exception
java.lang.Exception
public static void rubyExec(java.lang.Object script) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |