|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.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 |
DISABLE_PLUGIN_JAR_LOADING_MODE Key used to specify whether or not to automatically load the WLST dependency JARs from the <product-home>/plugins/wlst directory in this interpreter. |
static String |
ENABLE_SCRIPT_MODE Key used to specifies whether WLST should enables script mode. |
static String |
ONLINE_ONLY_MODE Key used to specify wheether or not only online commands are supported by this interpreter. |
static String |
SCRIPT_DIR Key used to specifies script directory. |
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 |
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. |
ClassLoader |
getClassLoader() |
boolean |
getDisablePluginJarLoadingMode() Get the disablePluginJarLoadingMode setting. |
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 |
getOnlineOnlyMode() Get the onlineOnlyMode setting. |
boolean |
getRecordAll() Get the recordAll setting. |
boolean |
getRecordingInProgress() Get the recordingInProgress setting. |
String |
getScriptDir() Get the scriptDir setting. |
boolean |
getScriptMode() Get the scriptMode setting. |
boolean |
isStandalone() Check if it's standalone WLST or not. |
boolean |
runsource(String command, String source, weblogic.management.scripting.JLineWrapper wrapper) |
void |
setClassLoader(ClassLoader cls) |
void |
setDisablePluginJarLoadingMode(boolean disablePluginJarLoadingMode) Set the disablePluginJarLoadingMode setting. |
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 |
setOnlineOnlyMode(boolean onlineOnlyMode) Set the onlineOnlyMode setting. |
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
public static final String SCRIPT_DIR
public static final String ONLINE_ONLY_MODE
public static final String DISABLE_PLUGIN_JAR_LOADING_MODE
Method Detail |
---|
public void setClassLoader(ClassLoader cls)
public ClassLoader getClassLoader()
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 runsource(String command, String source, weblogic.management.scripting.JLineWrapper wrapper)
public 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 getOnlineOnlyMode()
public void setOnlineOnlyMode(boolean onlineOnlyMode)
onlineOnlyMode
- - true if running in onlineOnly mode, false otherwisepublic boolean getDisablePluginJarLoadingMode()
public void setDisablePluginJarLoadingMode(boolean disablePluginJarLoadingMode)
disablePluginJarLoadingMode
- - true to disable plugin jar loading, 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()
public String getScriptDir()
|
Copyright 1996, 2015, 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.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |