Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.management.scripting.utils
Class WLSTInterpreter

    java.lang.Object
      InteractiveInterpreter
          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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD