|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bsf.BSFManager
org.norther.tammi.core.scripter.lang.ScriptManager
public class ScriptManager
An extended BSF manager.
| Field Summary |
|---|
| Fields inherited from class org.apache.bsf.BSFManager |
|---|
classLoader, classPath, declaredBeans, extn2Lang, loadedEngines, objectRegistry, pcs, registeredEngines, tempDir |
| Constructor Summary | |
|---|---|
ScriptManager()
Constructs a new manager. |
|
| Method Summary | |
|---|---|
protected Vector |
getDeclaredBeans()
Gets declared beans. |
String |
getEngineClassName(String lang)
Gets the class name of a registered engine. |
org.apache.bsf.BSFEngine |
loadScriptingEngine(String lang,
org.apache.bsf.BSFEngine engine)
Loads an existing BSF engine. |
void |
reinitialize()
Reinitializes all engines ignoring exceptions. |
| Methods inherited from class org.apache.bsf.BSFManager |
|---|
apply, compileApply, compileExpr, compileScript, declareBean, eval, exec, getClassLoader, getClassPath, getDebugManager, getLangFromFilename, getObjectRegistry, getTempDir, initBSFDebugManager, isLanguageRegistered, loadScriptingEngine, lookupBean, registerBean, registerScriptingEngine, setClassLoader, setClassPath, setObjectRegistry, setTempDir, terminate, undeclareBean, unregisterBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptManager()
| Method Detail |
|---|
public String getEngineClassName(String lang)
lang - the language.
public org.apache.bsf.BSFEngine loadScriptingEngine(String lang,
org.apache.bsf.BSFEngine engine)
throws org.apache.bsf.BSFException
lang - the language.engine - the engine.
org.apache.bsf.BSFException - on errors.public void reinitialize()
protected Vector getDeclaredBeans()
name - the name of the bean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||