|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.util.bootstrap.JVMConfiguration
Class JVMConfiguration
Is a Data structure representing a Java
command This class is serializable and can be pass througth a RMI call (for
the Java Deamon for example)
Field Summary | |
java.lang.String |
className
String for classname |
java.util.Vector |
classpath
String Vector for classpath (path and jar file) Be carful, this is for the moment RJVM server System dependant |
boolean |
debug
Boolean for jvm -debug option |
java.lang.String |
jarName
String for -jar option |
java.lang.String |
mainArgs
String for class main args [] option |
java.util.Vector |
nonStandard
String Vector for non Standard options (-X...) |
java.util.Properties |
properties
Properties for system properties (-D...) options |
boolean |
server
Boolean for jvm -server option |
boolean |
verbose
Boolean -verbose option |
boolean |
verboseClass
Boolean -verbose:class option |
boolean |
verboseGC
Boolean -verbose:gc option |
boolean |
verboseJNI
Boolean -verbose:jni option |
Constructor Summary | |
JVMConfiguration()
empty constructor start with default |
|
JVMConfiguration(java.lang.String commandLine)
Constuctor with the jvm string This constructor is use "like a java ... |
Method Summary | |
void |
addArgs(java.lang.String args)
add mains args ... |
void |
addNonStandard(java.lang.String option)
ste non standard option (for example bootclasspath:/usr/local/lib/foo/foo.jar pass the -Xbootclasspath:/usr/local/lib/foo/foo.jar to the jvm) |
void |
addPath(java.lang.String path)
add path for the jvm |
void |
addProperty(java.lang.String key,
java.lang.String value)
add jvm -D property |
java.lang.String |
getCommandString()
Get the command string |
void |
setClass(java.lang.String cName)
set the main class namle for the jvm |
void |
setDebug()
set jvm -debug option |
void |
setJar(java.lang.String jName)
set -jar ... |
void |
setServer()
set jvm -server option |
void |
setVerbose()
set -verbose option |
void |
setVerboseClass()
set -verbose:class option |
void |
setVerboseGC()
set -verbose:gc option |
void |
setVerboseJNI()
set -verbose:jni option |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean server
public boolean debug
public java.util.Properties properties
public java.util.Vector classpath
public java.lang.String jarName
public java.lang.String className
public java.lang.String mainArgs
public boolean verbose
public boolean verboseClass
public boolean verboseGC
public boolean verboseJNI
public java.util.Vector nonStandard
Constructor Detail |
public JVMConfiguration()
public JVMConfiguration(java.lang.String commandLine) throws ProcessException
Method Detail |
public void setServer()
public void setDebug()
public void addProperty(java.lang.String key, java.lang.String value)
public void addPath(java.lang.String path)
public void setVerbose()
public void setVerboseClass()
public void setVerboseGC()
public void setVerboseJNI()
public void addNonStandard(java.lang.String option)
public void setClass(java.lang.String cName) throws ProcessException
ProcessException
- if the jar option is setpublic void setJar(java.lang.String jName) throws ProcessException
ProcessException
- if the class option is setpublic void addArgs(java.lang.String args) throws ProcessException
ProcessException
public java.lang.String getCommandString() throws ProcessException
ProcessException
- if the class or jar option is not set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |