BEA Systems, Inc.

weblogic.management.scripting.utils
Class WLSTInterpreter

java.lang.Object
  extended by org.python.util.PythonInterpreter
      extended by org.python.util.InteractiveInterpreter
          extended by weblogic.management.scripting.utils.WLSTInterpreter

public class WLSTInterpreter
extends org.python.util.InteractiveInterpreter

This is a wrapper class to the Jython interpreter. It adds Weblogic specific extensions that enable you to run WLST in Embedded Mode from a Java client

For more information see http://www.jython.org/docs/javadoc/org/python/util/InteractiveInterpreter.html


Field Summary
 
Fields inherited from class org.python.util.InteractiveInterpreter
buffer, filename
 
Fields inherited from class org.python.util.PythonInterpreter
cflags, systemState
 
Constructor Summary
WLSTInterpreter()
          Contructs the WLSTInterpreter with weblogic specific extensions
 
Method Summary
 void exec(String string)
          Executes Jython commands that are passed in as a string.
 void execfile(String string)
          Executes Jython commands that are passed in as a file.
 
Methods inherited from class org.python.util.InteractiveInterpreter
interrupt, resetbuffer, runcode, runsource, runsource, runsource, showexception, write
 
Methods inherited from class org.python.util.PythonInterpreter
cleanup, eval, exec, execfile, execfile, get, get, getLocals, initialize, set, set, setErr, setErr, setErr, setLocals, setOut, setOut, setOut, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLSTInterpreter

public WLSTInterpreter()

Contructs the WLSTInterpreter with weblogic specific extensions

Method Detail

exec

public void exec(String string)
Executes Jython commands that are passed in as a string.

Overrides:
exec in class org.python.util.PythonInterpreter
Parameters:
string - String

execfile

public void execfile(String string)
Executes Jython commands that are passed in as a file.

Overrides:
execfile in class org.python.util.PythonInterpreter
Parameters:
string - String

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.