org.objectweb.proactive.core.process
Class JVMNodeProcess

java.lang.Object
  |
  +--org.objectweb.proactive.core.process.AbstractUniversalProcess
        |
        +--org.objectweb.proactive.core.process.AbstractExternalProcess
              |
              +--org.objectweb.proactive.core.process.JVMProcessImpl
                    |
                    +--org.objectweb.proactive.core.process.JVMNodeProcess
All Implemented Interfaces:
ExternalProcess, JVMProcess, java.io.Serializable, UniversalProcess

public class JVMNodeProcess
extends JVMProcessImpl
implements java.io.Serializable

This class has the same functionalities than JVMProcess, except that the class associated with this process ie the class that this process will start when the startProcess() is called, is set automatically to org.objectweb.proactive.core.runtime.startRuntime.This class is mainly used with XML deployment descriptor.

Since:
ProActive 0.9.4
Version:
1.0, 2002/09/20
Author:
ProActive Team
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
AbstractExternalProcess.NullMessageLogger, AbstractExternalProcess.ProcessInputHandler, AbstractExternalProcess.ProcessOutputHandler, AbstractExternalProcess.SimpleMessageSink, AbstractExternalProcess.StandardOutputMessageLogger
 
Field Summary
 
Fields inherited from class org.objectweb.proactive.core.process.JVMProcessImpl
bootClasspath, classname, classpath, DEFAULT_CLASSNAME, DEFAULT_CLASSPATH, DEFAULT_JAVAPATH, DEFAULT_JVMPARAMETERS, DEFAULT_LOG4J_FILE, DEFAULT_POLICY_FILE, javaPath, jvmParameters, log4jFile, logger, parameters, policyFile
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
clogger, errorMessageLogger, externalProcess, inputMessageLogger, IS_WINDOWS_SYSTEM, outputMessageSink
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
certificateLocation, command, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username
 
Constructor Summary
JVMNodeProcess()
          Creates a new instance of JVMNodeProcess.
JVMNodeProcess(MessageLogger messageLogger)
          Creates a new instance of JVMNodeProcess
JVMNodeProcess(MessageLogger inputMessageLogger, MessageLogger errorMessageLogger)
          Creates a new instance of JVMNodeProcess
 
Methods inherited from class org.objectweb.proactive.core.process.JVMProcessImpl
buildCommand, buildJavaCommand, getBootClasspath, getClassname, getClasspath, getJavaPath, getLog4jFile, getParameters, getPolicyFile, main, setBootClasspath, setClassname, setClasspath, setJavaPath, setJvmOptions, setLog4jFile, setParameters, setPolicyFile
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
buildEnvironmentCommand, buildUnixEnvironmentCommand, buildWindowsEnvironmentCommand, getErrorMessageLogger, getInputMessageLogger, getOutputMessageSink, handleError, handleInput, handleOutput, handleProcess, internalStartProcess, internalStopProcess, internalWaitFor, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
checkStarted, getCertificateLocation, getCommand, getEnvironment, getHostname, getPrivateKeyLocation, getSecurityFile, getUsername, isFinished, isStarted, setCertificateLocation, setEnvironment, setHostname, setPrivateKeyLocation, setSecurityFile, setUsername, startProcess, stopProcess, toString, toString, waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

JVMNodeProcess

public JVMNodeProcess()
Creates a new instance of JVMNodeProcess.


JVMNodeProcess

public JVMNodeProcess(MessageLogger messageLogger)
Creates a new instance of JVMNodeProcess

Parameters:
messageLogger - The logger that handles input and error stream of this process

JVMNodeProcess

public JVMNodeProcess(MessageLogger inputMessageLogger,
                      MessageLogger errorMessageLogger)
Creates a new instance of JVMNodeProcess

Parameters:
inputMessageLogger - The logger that handles input stream of this process
errorMessageLogger - The logger that handles error stream of this process


Copyright © April 2004 INRIA All Rights Reserved.