|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.util.PythonInterpreter
org.python.util.InteractiveInterpreter
weblogic.management.scripting.utils.WLSTInterpreter
public class WLSTInterpreter
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
NOTE: WLSTInterpreter is not designed to have multiple active instances within one process. If you need multiple simultaneous instances, then you should use multiple JVM processes with one WLSTInterpreter in each. 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. |
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 |
|
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. |
boolean |
getDisconnected()
Get the disconnected setting. |
boolean |
getEaseSyntax()
Get the easeSyntax setting. |
org.python.core.PyObject |
getOfflineCMO()
Get the offline cmo value. |
org.python.core.PyObject |
getOfflinePrompt()
Get the offline prompt value. |
boolean |
getRecordAll()
Get the recordAll setting. |
boolean |
getRecordingInProgress()
Get the recordingInProgress setting. |
boolean |
getScriptMode()
Get the scriptMode setting. |
boolean |
isStandalone()
Check if it's standalone WLST or not. |
void |
setClassLoader(ClassLoader cls)
|
void |
setDisconnected(boolean disconnected)
Set the disconnected setting. |
void |
setEaseSyntax(boolean easeSyntax)
Set the easeSyntax setting. |
void |
setOfflineCMO(org.python.core.PyObject offlineCMO)
Set the offline cmo value. |
void |
setOfflinePrompt(org.python.core.PyObject offlinePrompt)
Set the offline prompt value. |
void |
setRecordAll(boolean recordAll)
Set the recordAll setting. |
void |
setRecordingInProgress(boolean recordingInProgress)
Set the recordingInProgress setting. |
void |
setScriptMode(boolean scriptMode)
Set the scriptMode setting. |
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 |
Field Detail |
---|
public static final String SKIP_WLS_MODULE_SCANNING
public static final String ENABLE_SCRIPT_MODE
Constructor Detail |
---|
public WLSTInterpreter()
Contructs the WLSTInterpreter with WebLogic specific extensions
public WLSTInterpreter(Hashtable h)
Contructs the WLSTInterpreter with WebLogic specific extensions
h
- the hashtable containing WebLogic specific extensions for module scanning and script modeMethod Detail |
---|
public void setClassLoader(ClassLoader cls)
public void exec(String string)
exec
in class org.python.util.PythonInterpreter
string
- Stringpublic void execfile(String string)
execfile
in class org.python.util.PythonInterpreter
string
- Stringpublic boolean getEaseSyntax()
public void setEaseSyntax(boolean easeSyntax)
easeSyntax
- - true if easeSyntax is enabled, false otherwisepublic boolean getScriptMode()
public void setScriptMode(boolean scriptMode)
scriptMode
- - true if running in script mode, false otherwisepublic boolean getRecordingInProgress()
public void setRecordingInProgress(boolean recordingInProgress)
recordingInProgress
- - true if recording, false otherwisepublic boolean getRecordAll()
public void setRecordAll(boolean recordAll)
recordAll
- - true if recording all, false otherwisepublic org.python.core.PyObject getOfflineCMO()
public void setOfflineCMO(org.python.core.PyObject offlineCMO)
offlineCMO
- - offline cmo valuepublic org.python.core.PyObject getOfflinePrompt()
public void setOfflinePrompt(org.python.core.PyObject offlinePrompt)
offlinePrompt
- - offline cmo valuepublic boolean getDisconnected()
public void setDisconnected(boolean disconnected)
disconnected
- - true if disconnected, false otherwisepublic boolean isStandalone()
|
Copyright 1996, 2013, 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. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |