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 which adds weblogic specific extensions such that one can call this from a java client. This is when user would like to use WLST in EmbeddedMode

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)
          overwrite this method to allow recording when using Embedded mode
 void execfile(String string)
          overwrite this method to allow recording when using Embedded mode
 
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)
overwrite this method to allow recording when using Embedded mode

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

execfile

public void execfile(String string)
overwrite this method to allow recording when using Embedded mode

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

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