|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IpScriptInterp
The IpScriptInterp
interface defines method to be
implemented by script interpreters.
If a script is added to a distributed object via the
setScript
method, there must exist a corresponding
script interpreter class that is able to handle the script.
The syntax of script expressions given to setScript
is
lang://script
For instance
tcl://puts hej
If such a script is given to setScript
, PART tries
to load and instantiate a script interpreter class with the name
IpScriptNameInterp
, for instance
IpTclInterp
. Such script language specific classes
must impelement the IpScriptInterp
to be loadable by
PART.
Field Summary | |
---|---|
static java.lang.String |
SCRIPT_INIT_PROC
|
Method Summary | |
---|---|
java.lang.String |
callMethod(IpObject obj,
java.lang.String cmd,
java.lang.String[] args)
|
java.lang.String |
eval(IpObject obj,
java.lang.String script)
|
java.lang.String |
getScriptLang()
|
Field Detail |
---|
static final java.lang.String SCRIPT_INIT_PROC
Method Detail |
---|
java.lang.String eval(IpObject obj, java.lang.String script) throws IpException
IpException
java.lang.String callMethod(IpObject obj, java.lang.String cmd, java.lang.String[] args) throws IpException
IpException
java.lang.String getScriptLang()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |