GuiComponents.scripting.ScriptingInterface Class Reference

This is the entry point for external programs wanting to use scripting. More...

Collaboration diagram for GuiComponents.scripting.ScriptingInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

BSFManager getManager ()
 Use this to get access to the manager - in particular for adding extra variables.
Interpreter getBeanShellInterpreter ()
Interpreter getJythonInterpreter ()

Static Public Member Functions

static ScriptingInterface instance ()

Private Member Functions

Interpreter createInterpreter (ScriptFactory sf)
 ScriptingInterface ()
 Creates a new instance of ScriptingInterface.

Private Attributes

BSFManager manager
SearchableObjectRegistry registry
WeakReference currentInterpreter = new WeakReference(null)

Static Private Attributes

static ScriptingInterface instance = null

Detailed Description

This is the entry point for external programs wanting to use scripting.

Author:
Matthew Palmer

Definition at line 18 of file ScriptingInterface.java.


Member Function Documentation

Interpreter GuiComponents.scripting.ScriptingInterface.createInterpreter ScriptFactory  sf  )  [private]
 

Todo:
Should we throw an exception here?

Definition at line 45 of file ScriptingInterface.java.

References GuiComponents.scripting.ScriptingInterface.currentInterpreter.

Referenced by GuiComponents.scripting.ScriptingInterface.getBeanShellInterpreter(), and GuiComponents.scripting.ScriptingInterface.getJythonInterpreter().


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:14:07 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6