All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.script.SCRClient
- public interface interface SCRClient
The scripting client interface is
implemented by the object that requires a scripting environment.
- See Also:
- SCREnvironment
-
getPackageName()
- Requests the name of the Java package in which the code generated
by the scripting engine is stored.
-
getRegisteredClasses()
- Requests all the classes registered with the scripting environment.
-
getRegisteredClassNames()
- Requests the names and the class-names of all the objects registered with the scripting environment.
-
getWorkingDirectory()
- Requests the path of the working directory.
-
runRequest(SCREnvironment, boolean, boolean)
- Requests the scripting client that the script be run.
-
terminateRequest(SCREnvironment)
- Requests the scripting client that the script execution be terminated.
runRequest
public abstract boolean runRequest(SCREnvironment scrEnv,
boolean runDebug,
boolean compileDebug)
- Requests the scripting client that the script be run.
This method is called by the scripting environment when
the scripting IDE initiates a run request.
The scripting client is responsible for preparing itself for a script to be run
by the scripting environment.
- Parameters:
- scrEnv - The scripting environment.
- runDebug - true for debugging the script during execution; false otherwise.
- compileDebug - true to set debug flags; false otherwise.
- Returns:
- true if the runScript() method of the scripting environment is called; false otherwise.
terminateRequest
public abstract boolean terminateRequest(SCREnvironment scrEnv)
- Requests the scripting client that the script execution be terminated.
This method is called by the scripting environment when the
scripting IDE initiates
a terminate request. The scripting client is responsible for preparing
itself for terminating script execution.
- Parameters:
- scrEnv - The scripting environment.
- Returns:
- true if the terminateScript() method of the scripting environment is called; false otherwise.
getRegisteredClassNames
public abstract Hashtable getRegisteredClassNames()
- Requests the names and the class-names of all the objects registered with the scripting environment.
- Returns:
- The Hashtable containing the names and the class-names of the objects registered with the scripting environment.
getRegisteredClasses
public abstract Vector getRegisteredClasses()
- Requests all the classes registered with the scripting environment.
- Returns:
- The Vector containing the classes registered with the scripting environment.
getWorkingDirectory
public abstract String getWorkingDirectory()
- Requests the path of the working directory.
- Returns:
- The path of the working directory.
getPackageName
public abstract String getPackageName()
- Requests the name of the Java package in which the code generated
by the scripting engine is stored.
- Returns:
- The path Java package in which the generated code is stored.
All Packages Class Hierarchy This Package Previous Next Index