Oracle

weblogic.management.scripting.utils
Class WLSTInterpreter

java.lang.Object
  extended by InteractiveInterpreter
      extended by weblogic.management.scripting.utils.WLSTInterpreter

public class WLSTInterpreter
extends 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
static String ENABLE_SCRIPT_MODE
          Key used to specifies whether WLST should enables script mode.
static String SKIP_WLS_MODULE_SCANNING
          Key used to specifies whether WLST should skip scanning of WLS modules.
 
Constructor Summary
WLSTInterpreter()
          Contructs the WLSTInterpreter with WebLogic specific extensions
WLSTInterpreter(Hashtable h)
          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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SKIP_WLS_MODULE_SCANNING

public static final String SKIP_WLS_MODULE_SCANNING
Key used to specifies whether WLST should skip scanning of WLS modules. In the Hashtable, specify this key and a Boolean as the value.

See Also:
Constant Field Values

ENABLE_SCRIPT_MODE

public static final String ENABLE_SCRIPT_MODE
Key used to specifies whether WLST should enables script mode. In the Hashtable, specify this key and a Boolean as the value.

See Also:
Constant Field Values
Constructor Detail

WLSTInterpreter

public WLSTInterpreter()

Contructs the WLSTInterpreter with WebLogic specific extensions


WLSTInterpreter

public WLSTInterpreter(Hashtable h)

Contructs the WLSTInterpreter with WebLogic specific extensions

Parameters:
h - the hashtable containing WebLogic specific extensions for module scanning and script mode
Method Detail

exec

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

Parameters:
string - String

execfile

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

Parameters:
string - String

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle