public class ClientServerPy4JPlugin<T> extends BasePy4JPlugin<T>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoStartJavaServer |
protected py4j.ClientServer |
server |
static String |
TAG_AUTO_START_JAVA_SERVER |
DEFAULT_NAME, DEFAULT_PYTHON_EXECUTABLE, ENV_PY4J_AUTH_TOKEN, ENV_PY4J_JAVA_PORT, ENV_PY4J_PYTHON_PORT, TAG_AUTH_TOKEN, TAG_FACADE_INTERFACE, TAG_GENERATE_AUTH_TOKEN, TAG_JAVA_PORT, TAG_PYTHON_PORT, TAG_PYTHON_SCRIPT, TAG_PYTHON_SCRIPT_BEFORE_STARTUP, TAG_RANDOM_PORTS, TAG_SECURITY| Constructor and Description |
|---|
ClientServerPy4JPlugin() |
ClientServerPy4JPlugin(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected py4j.ClientServer |
build(py4j.ClientServer.ClientServerBuilder builder) |
Boolean |
getAutoStartJavaServer() |
py4j.ClientServer |
getServer() |
void |
onConfigure(org.openksavi.sponge.config.Configuration configuration) |
void |
onShutdown() |
void |
onStartup() |
void |
setAutoStartJavaServer(Boolean autoStartJavaServer) |
void |
setServer(py4j.ClientServer server) |
createSslContext, executePythonScript, getAuthToken, getFacade, getFacadeInterfaceName, getJavaPort, getPythonPort, getPythonScriptConfiguration, getScriptProcess, getSecurity, isGenerateAuthToken, isPythonScriptBeforeStartup, isRandomPorts, killPythonScript, setAuthToken, setFacade, setFacadeInterfaceName, setGenerateAuthToken, setJavaPort, setPythonPort, setPythonScriptBeforeStartup, setPythonScriptConfiguration, setRandomPorts, setSecuritydoShutdown, doStartup, getConfiguration, getEngineOperations, getKnowledgeBase, getLogger, getSponge, onAfterReload, onBeforeReload, onInit, setConfiguration, setKnowledgeBase, shutdown, startup, toStringgetDescription, getDisplayName, getEngine, getInternalService, getName, getState, isFailed, isNew, isNewOrStartingOrRunning, isRunning, isStarting, isStopping, isTerminated, setDescription, setDisplayName, setEngine, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFailed, isNew, isRunning, isStarting, isStopping, isTerminatedpublic static final String TAG_AUTO_START_JAVA_SERVER
protected py4j.ClientServer server
protected Boolean autoStartJavaServer
public ClientServerPy4JPlugin()
public ClientServerPy4JPlugin(String name)
public void onConfigure(org.openksavi.sponge.config.Configuration configuration)
onConfigure in interface org.openksavi.sponge.plugin.PluginonConfigure in class BasePy4JPlugin<T>public void onStartup()
onStartup in interface org.openksavi.sponge.plugin.PluginonStartup in class BasePy4JPlugin<T>protected py4j.ClientServer build(py4j.ClientServer.ClientServerBuilder builder)
public void onShutdown()
onShutdown in interface org.openksavi.sponge.plugin.PluginonShutdown in class org.openksavi.sponge.core.plugin.BasePluginpublic py4j.ClientServer getServer()
public void setServer(py4j.ClientServer server)
public Boolean getAutoStartJavaServer()
public void setAutoStartJavaServer(Boolean autoStartJavaServer)
Copyright © 2016–2019 Softelnet. All rights reserved.