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_SECURITY_ALGORITHM, TAG_FACADE_INTERFACE, TAG_JAVA_PORT, TAG_PYTHON_PORT, TAG_SECURITY, TAG_SECURITY_ALGORITHM, TAG_SECURITY_KEYSTORE, TAG_SECURITY_PASSWORD| 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, getFacade, getFacadeInterfaceName, getJavaPort, getPythonPort, getSecurity, setFacade, setFacadeInterfaceName, setJavaPort, setPythonPort, setSecuritydoShutdown, doStartup, getConfiguration, getEngineOperations, getEps, getKnowledgeBase, getLogger, onAfterReload, onBeforeReload, onInit, setConfiguration, setKnowledgeBase, toStringgetEngine, getName, getService, getState, isFailed, isNew, isNewOrStartingOrRunning, isRunning, isStarting, isStopping, isTerminated, setEngine, setName, shutdown, startupclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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 BasePluginprotected py4j.ClientServer build(py4j.ClientServer.ClientServerBuilder builder)
public void onShutdown()
onShutdown in interface org.openksavi.sponge.plugin.PluginonShutdown in class BasePluginpublic py4j.ClientServer getServer()
public void setServer(py4j.ClientServer server)
public Boolean getAutoStartJavaServer()
public void setAutoStartJavaServer(Boolean autoStartJavaServer)
Copyright © 2016–2018 Softelnet. All rights reserved.