|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An external runtime process that runs with Java.
Field Summary | |
static java.lang.String |
CLASSPATH
Status key for overridden classpath. |
static java.lang.String |
EXTPATH
Status key for overridden optional packages. |
static java.lang.String |
JVM
Status key for overridden JVM. |
static java.lang.String |
JVM_OPTIONS
Status key for overridden JVM options. |
static java.lang.String |
MAX_HEAP
Status key for overridden max heap. |
static java.lang.String |
START_HEAP
Status key for overridden start heap. |
static java.lang.String |
VM_TYPE
Status key for overridden vm type. |
Fields inherited from interface jpl.eda.console.Process |
ARGV, CLASS_NAME, ENABLED, ENVP, ERR_BUF_SIZE, ERROR, EVENT_ADDRESSES, EXECUTIVE_SERVER, IOR, IS_RUNNING, JAVA, LAUNCH, LIMIT, MIN_TIME, NAME, NAME_SERVER, NATIVE, OUT_BUF_SIZE, OUTPUT, PROPERTIES, RESET_TIME, RESTARTS, SHUTDOWN, START_TIME, TYPE, URL, WAIT_TIME, WEB_SERVER |
Method Summary | |
java.util.Vector |
getClasspath()
Get the classpath. |
java.lang.String[] |
getCommandLineArguments()
Get my command-line arguments. |
java.util.Vector |
getExtpath()
Get the optional package path. |
java.lang.String |
getJVM()
Get the Java virtual machine interpreter. |
java.util.Vector |
getJVMOptions()
Get the JVM options. |
java.lang.String |
getMainClass()
Get my main class. |
int |
getMaxHeap()
Get the maximum heap. |
java.util.Properties |
getProperties()
Get my properties. |
int |
getStartHeap()
Get the starting heap. |
java.lang.String |
getVMType()
Get the virtual machine type. |
int |
setClasspath(java.util.Vector cp)
Set the classpath. |
int |
setCommandLineArguments(java.lang.String[] argv)
Set my command-line arguments. |
int |
setExtpath(java.util.Vector extpath)
Set the optional package path. |
int |
setJVM(java.lang.String jvm)
Set the Java virtual machine interpreter. |
int |
setJVMOptions(java.util.Vector options)
Set the JVM options. |
int |
setMainClass(java.lang.String className)
Set my main class. |
int |
setMaxHeap(int heap)
Set the maximum heap. |
int |
setStartHeap(int heap)
Set the starting heap. |
int |
setVMType(java.lang.String type)
Set the virtual machine type. |
Methods inherited from interface jpl.eda.console.RuntimeProcess |
getErrBufSize, getError, getOutBufSize, getOutput, setErrBufSize, setOutBufSize |
Methods inherited from interface jpl.eda.console.Process |
getEventAddresses, getLimit, getMinTime, getName, getResetTime, getStatus, getType, getWaitTime, isEnabled, isRunning, setEnabled, setEventAddresses, setLimit, setMinTime, setName, setParams, setResetTime, setWaitTime, start, stop |
Methods inherited from interface jpl.eda.util.Documentable |
toXML |
Field Detail |
public static final java.lang.String JVM
public static final java.lang.String MAX_HEAP
public static final java.lang.String START_HEAP
public static final java.lang.String JVM_OPTIONS
public static final java.lang.String CLASSPATH
public static final java.lang.String EXTPATH
public static final java.lang.String VM_TYPE
Method Detail |
public java.util.Properties getProperties() throws ServerException
ServerConfig
. Don't forget to call ServerConfig.save()
after modifying
these.
ServerException
- If an error occurs.public java.lang.String[] getCommandLineArguments() throws ServerException
ServerException
public int setCommandLineArguments(java.lang.String[] argv) throws ServerException
argv
- My new command-line arguments.
ServerException
- If an error occurs.public java.lang.String getMainClass() throws ServerException
ServerException
- If an error occurs.public int setMainClass(java.lang.String className) throws ServerException
className
- Name of the main class.
ServerException
- If an error occurs.public java.lang.String getJVM() throws ServerException
ServerException
- If an error occurs.public int setJVM(java.lang.String jvm) throws ServerException
jvm
- The JVM executable.
ServerException
- If an error occurs.public int getMaxHeap() throws ServerException
ServerException
public int setMaxHeap(int heap) throws ServerException
heap
- The maximum heap in kilobytes.
ServerException
- If an error occurs.public int getStartHeap() throws ServerException
ServerException
- If an error occurs.public int setStartHeap(int heap) throws ServerException
heap
- The starting heap in kilobytes.
ServerException
- If an error occurs.public java.util.Vector getJVMOptions() throws ServerException
ServerException
- If an error occurs.public int setJVMOptions(java.util.Vector options) throws ServerException
options
- Any JVM options.
ServerException
- If an error occurs.public java.util.Vector getClasspath() throws ServerException
String
s of directories and jars.
ServerException
- If an error occurs.public int setClasspath(java.util.Vector cp) throws ServerException
cp
- A vector of String
s of directories and jars.
ServerException
- If an error occurs.public java.util.Vector getExtpath() throws ServerException
String
directories.
ServerException
- If an error occurs.public int setExtpath(java.util.Vector extpath) throws ServerException
extpath
- A vector of String
directories.
ServerException
- If an error occurs.public java.lang.String getVMType() throws ServerException
ServerException
- If an error occurs.public int setVMType(java.lang.String type) throws ServerException
type
- The VM type.
ServerException
- If an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |