public class SPIConfiguration
extends Object
implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_EXECUTABLE_DEFAULT |
static String |
JVM_ARGUMENTS_DEFAULT |
static long |
PING_INTERVAL_DEFAULT |
static long |
REGISTER_TIMEOUT_DEFAULT |
static long |
SHUTDOWN_TIMEOUT_DEFAULT |
Constructor and Description |
---|
SPIConfiguration(String spiId,
String spiAgentClassName,
int connectorPort,
String baseDir,
String[] portletIds,
String[] servletContextNames,
String extraSettings) |
SPIConfiguration(String spiId,
String javaExecutable,
String jvmArguments,
String spiAgentClassName,
int connectorPort,
String baseDir,
String[] portletIds,
String[] servletContextNames,
long pingInterval,
long registerTimeout,
long shutdownTimeout,
String extraSettings) |
Modifier and Type | Method and Description |
---|---|
static SPIConfiguration |
fromXMLString(String xmlString) |
String |
getBaseDir() |
int |
getConnectorPort() |
String |
getExtraSettings() |
String |
getJavaExecutable() |
List<String> |
getJVMArguments() |
long |
getPingInterval() |
String[] |
getPortletIds() |
long |
getRegisterTimeout() |
String[] |
getServletContextNames() |
long |
getShutdownTimeout() |
String |
getSPIAgentClassName() |
String |
getSPIId() |
String |
toString() |
String |
toXMLString() |
public static final String JAVA_EXECUTABLE_DEFAULT
public static final String JVM_ARGUMENTS_DEFAULT
public static final long PING_INTERVAL_DEFAULT
public static final long REGISTER_TIMEOUT_DEFAULT
public static final long SHUTDOWN_TIMEOUT_DEFAULT
public SPIConfiguration(String spiId, String spiAgentClassName, int connectorPort, String baseDir, String[] portletIds, String[] servletContextNames, String extraSettings)
public SPIConfiguration(String spiId, String javaExecutable, String jvmArguments, String spiAgentClassName, int connectorPort, String baseDir, String[] portletIds, String[] servletContextNames, long pingInterval, long registerTimeout, long shutdownTimeout, String extraSettings)
public static SPIConfiguration fromXMLString(String xmlString) throws DocumentException
DocumentException
public String getBaseDir()
public int getConnectorPort()
public String getExtraSettings()
public String getJavaExecutable()
public List<String> getJVMArguments()
public long getPingInterval()
public String[] getPortletIds()
public long getRegisterTimeout()
public String[] getServletContextNames()
public long getShutdownTimeout()
public String getSPIAgentClassName()
public String getSPIId()
public String toString()
toString
in class Object
public String toXMLString()