public class GatewayServerPy4JPlugin<T> extends BasePy4JPlugin<T>
| Modifier and Type | Field and Description |
|---|---|
protected py4j.GatewayServer |
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 |
|---|
GatewayServerPy4JPlugin() |
GatewayServerPy4JPlugin(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected py4j.GatewayServer |
build(py4j.GatewayServer.GatewayServerBuilder builder) |
py4j.GatewayServer |
getServer() |
void |
onShutdown() |
void |
onStartup() |
void |
setServer(py4j.GatewayServer server) |
createSslContext, executePythonScript, getAuthToken, getFacade, getFacadeInterfaceName, getJavaPort, getPythonPort, getPythonScriptConfiguration, getScriptProcess, getSecurity, isGenerateAuthToken, isPythonScriptBeforeStartup, isRandomPorts, killPythonScript, onConfigure, setAuthToken, setFacade, setFacadeInterfaceName, setGenerateAuthToken, setJavaPort, setPythonPort, setPythonScriptBeforeStartup, setPythonScriptConfiguration, setRandomPorts, setSecuritydoShutdown, doStartup, getConfiguration, getEngineOperations, getKnowledgeBase, getLogger, getSponge, onAfterReload, onBeforeReload, onInit, setConfiguration, setKnowledgeBase, shutdown, startup, toStringgetDescription, getEngine, getInternalService, getLabel, getName, getState, isFailed, isNew, isNewOrStartingOrRunning, isRunning, isStarting, isStopping, isTerminated, setDescription, setEngine, setLabel, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFailed, isNew, isRunning, isStarting, isStopping, isTerminatedpublic GatewayServerPy4JPlugin()
public GatewayServerPy4JPlugin(String name)
public void onStartup()
onStartup in interface org.openksavi.sponge.plugin.PluginonStartup in class BasePy4JPlugin<T>protected py4j.GatewayServer build(py4j.GatewayServer.GatewayServerBuilder builder)
public void onShutdown()
onShutdown in interface org.openksavi.sponge.plugin.PluginonShutdown in class org.openksavi.sponge.core.plugin.BasePluginpublic py4j.GatewayServer getServer()
public void setServer(py4j.GatewayServer server)
Copyright © 2016–2019 Softelnet. All rights reserved.