|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JVMProcess class is able to start localy any class of the ProActive library by creating a Java Virtual Machine.
Field Summary |
Fields inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
logger |
Method Summary | |
java.lang.String |
getBootClasspath()
Returns the boot classpath associated to this process |
java.lang.String |
getClassname()
Returns the class name that this process is about to start |
java.lang.String |
getClasspath()
Returns the classpath associated to this process |
java.lang.String |
getJavaPath()
Returns the java path associated to this process. |
java.lang.String |
getLog4jFile()
Returns the location of the log4j property file. |
java.lang.String |
getParameters()
Returns parameters associated to the class that this process is going to start |
java.lang.String |
getPolicyFile()
Returns the location (path) to the policy file |
void |
setBootClasspath(java.lang.String bootClasspath)
Sets the boot classpath associated to this process |
void |
setClassname(java.lang.String classname)
Sets the value of the class to start for this process |
void |
setClasspath(java.lang.String classpath)
Sets the classpath for this process |
void |
setJavaPath(java.lang.String javaPath)
Sets the java path for this process |
void |
setJvmOptions(java.lang.String options)
Sets the options of the jvm to start For instance: jvmProcess.set JvmOptions("-verbose -Xms300M -Xmx300m"); |
void |
setLog4jFile(java.lang.String log4fFilePath)
Sets the location of the log4j property file. |
void |
setParameters(java.lang.String parameters)
Sets the parameters of the class to start with the given value |
void |
setPolicyFile(java.lang.String policyFilePath)
Sets the location of the policy file |
Methods inherited from interface org.objectweb.proactive.core.process.ExternalProcess |
getErrorMessageLogger, getInputMessageLogger, getOutputMessageSink, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink |
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
getCertificateLocation, getCommand, getEnvironment, getHostname, getPrivateKeyLocation, getSecurityFile, getUsername, isFinished, isStarted, setCertificateLocation, setEnvironment, setHostname, setPrivateKeyLocation, setSecurityFile, setUsername, startProcess, stopProcess, waitFor |
Method Detail |
public java.lang.String getClasspath()
public void setClasspath(java.lang.String classpath)
classpath
- The value of the classpath environment variablepublic java.lang.String getJavaPath()
public void setJavaPath(java.lang.String javaPath)
javaPath
- The value of the path to execute 'java' commandpublic java.lang.String getBootClasspath()
public void setBootClasspath(java.lang.String bootClasspath)
bootClasspath
- The boot classpath of the java commandpublic java.lang.String getPolicyFile()
public void setPolicyFile(java.lang.String policyFilePath)
policyFilePath
- The value of the path to the policy filepublic java.lang.String getLog4jFile()
public void setLog4jFile(java.lang.String log4fFilePath)
public java.lang.String getClassname()
public void setClassname(java.lang.String classname)
classname
- The name of the class to startpublic java.lang.String getParameters()
public void setParameters(java.lang.String parameters)
parameters
- Paramaters to be given in order to start the classpublic void setJvmOptions(java.lang.String options)
For instance:
jvmProcess.set JvmOptions("-verbose -Xms300M -Xmx300m");
options
- Options to be given in order to start the jvm
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |