public abstract class BasePy4JPlugin<T> extends JPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NAME |
static String |
DEFAULT_SECURITY_ALGORITHM |
static String |
TAG_FACADE_INTERFACE |
static String |
TAG_JAVA_PORT |
static String |
TAG_PYTHON_PORT |
static String |
TAG_SECURITY |
static String |
TAG_SECURITY_ALGORITHM |
static String |
TAG_SECURITY_KEYSTORE |
static String |
TAG_SECURITY_PASSWORD |
| Constructor and Description |
|---|
BasePy4JPlugin() |
BasePy4JPlugin(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected SSLContext |
createSslContext() |
T |
getFacade() |
String |
getFacadeInterfaceName() |
Integer |
getJavaPort() |
Integer |
getPythonPort() |
SecurityConfiguration |
getSecurity() |
void |
onConfigure(org.openksavi.sponge.config.Configuration configuration) |
void |
setFacade(T facade) |
void |
setFacadeInterfaceName(String facadeInterfaceName) |
void |
setJavaPort(Integer javaPort) |
void |
setPythonPort(Integer pythonPort) |
void |
setSecurity(SecurityConfiguration security) |
doShutdown, doStartup, getConfiguration, getEngineOperations, getEps, getKnowledgeBase, getLogger, onAfterReload, onBeforeReload, onInit, onShutdown, onStartup, 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 DEFAULT_NAME
public static final String TAG_FACADE_INTERFACE
public static final String TAG_JAVA_PORT
public static final String TAG_PYTHON_PORT
public static final String TAG_SECURITY
public static final String TAG_SECURITY_PASSWORD
public static final String TAG_SECURITY_KEYSTORE
public static final String TAG_SECURITY_ALGORITHM
public static final String DEFAULT_SECURITY_ALGORITHM
public BasePy4JPlugin()
public BasePy4JPlugin(String name)
public T getFacade()
public void setFacade(T facade)
public String getFacadeInterfaceName()
public void setFacadeInterfaceName(String facadeInterfaceName)
public void onConfigure(org.openksavi.sponge.config.Configuration configuration)
onConfigure in interface org.openksavi.sponge.plugin.PluginonConfigure in class BasePluginpublic Integer getJavaPort()
public void setJavaPort(Integer javaPort)
public Integer getPythonPort()
public void setPythonPort(Integer pythonPort)
public SecurityConfiguration getSecurity()
public void setSecurity(SecurityConfiguration security)
protected SSLContext createSslContext()
Copyright © 2016–2018 Softelnet. All rights reserved.