org.objectweb.proactive.core.process.lsf
Class CNLSFProcess

java.lang.Object
  extended byorg.objectweb.proactive.core.process.AbstractUniversalProcess
      extended byorg.objectweb.proactive.core.process.AbstractExternalProcess
          extended byorg.objectweb.proactive.core.process.AbstractExternalProcessDecorator
              extended byorg.objectweb.proactive.core.process.lsf.LSFBSubProcess
                  extended byorg.objectweb.proactive.core.process.lsf.CNLSFProcess
All Implemented Interfaces:
ExternalProcess, ExternalProcessDecorator, java.io.Serializable, UniversalProcess

public class CNLSFProcess
extends LSFBSubProcess

Custom implementation of LSFProcess for CHINA GRID

Since:
ProActive 3.0
Version:
1.0, 2005/09/20
Author:
ProActive Team
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.process.lsf.LSFBSubProcess
LSFBSubProcess.ParserMessageLogger
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
AbstractExternalProcessDecorator.CompositeMessageLogger, AbstractExternalProcessDecorator.CompositeMessageSink
 
Nested classes inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
AbstractExternalProcess.NullMessageLogger, AbstractExternalProcess.ProcessInputHandler, AbstractExternalProcess.ProcessOutputHandler, AbstractExternalProcess.SimpleMessageSink, AbstractExternalProcess.StandardOutputMessageLogger
 
Field Summary
protected  java.lang.String jobname
           
protected  java.lang.String queueName
           
 
Fields inherited from class org.objectweb.proactive.core.process.lsf.LSFBSubProcess
DEFAULT_BJOBPATH, DEFAULT_BSUBPATH, DEFAULT_LSFPATH, DEFAULT_PROCESSOR_NUMBER, DEFAULT_QUEUE_NAME, DEFAULT_SCRIPT_LOCATION, FILE_SEPARATOR, hostList, interactive, jobID, processor, res_requirement, scriptLocation
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
targetProcess
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
clogger, closeStream, errorMessageLogger, externalProcess, FILE_TRANSFER_DEFAULT_PROTOCOL, fileTransferLogger, inputMessageLogger, IS_WINDOWS_SYSTEM, NO_COMPOSITION, outputMessageSink
 
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
certificateLocation, command, command_path, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username
 
Fields inherited from interface org.objectweb.proactive.core.process.ExternalProcessDecorator
APPEND_TO_COMMAND_COMPOSITION, COPY_FILE_AND_APPEND_COMMAND, GIVE_COMMAND_AS_PARAMETER, SEND_TO_OUTPUT_STREAM_COMPOSITION
 
Fields inherited from interface org.objectweb.proactive.core.process.UniversalProcess
logger, UNKNOWN_NODE_NUMBER
 
Constructor Summary
CNLSFProcess()
          Creates a new LSFBsubProcess Used with XML Descriptors
CNLSFProcess(ExternalProcess targetProcess)
          Creates a new LSFBsubProcess
 
Method Summary
protected  java.lang.String buildCNBSubCommand()
           
protected  java.lang.String internalBuildCommand()
           
protected  void internalStartProcess(java.lang.String commandToExecute)
           
 
Methods inherited from class org.objectweb.proactive.core.process.lsf.LSFBSubProcess
buildBJobsCommand, buildBKillProcess, buildBSubCommand, getFinalProcess, getHostList, getJobID, getJobname, getNodeNumber, getProcessId, getProcessorNumber, getQueueName, getRes_requirement, getScriptLocation, isInteractive, main, parseHostname, parseJobID, sendJobDetailsCommand, setHostList, setInputMessageLogger, setInteractive, setJobname, setOutputMessageSink, setProcessorNumber, setQueueName, setRes_requirement, setScriptLocation
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
buildCommand, getCompositionType, getTargetProcess, handleCopyFile, handleOutput, setCompositionType, setTargetProcess, toString
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess
buildEnvironmentCommand, buildUnixEnvironmentCommand, buildWindowsEnvironmentCommand, closeStream, getErrorMessageLogger, getFileTransferDefaultCopyProtocol, getFileTransferWorkShopDeploy, getFileTransferWorkShopRetrieve, getInputMessageLogger, getOutputMessageSink, handleError, handleInput, handleProcess, internalFileTransferDefaultProtocol, internalStartFileTransfer, internalStopProcess, internalWaitFor, setErrorMessageLogger
 
Methods inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess
checkStarted, getCommand, getCommandPath, getEnvironment, getHostname, getUsername, isFinished, isHierarchical, isStarted, pushProcessAttributes, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, 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
closeStream, getErrorMessageLogger, getFileTransferWorkShopDeploy, getFileTransferWorkShopRetrieve, getInputMessageLogger, getOutputMessageSink, setErrorMessageLogger
 
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess
getCommand, getCommandPath, getEnvironment, getHostname, getUsername, isFinished, isHierarchical, isStarted, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, waitFor
 

Field Detail

queueName

protected java.lang.String queueName

jobname

protected java.lang.String jobname
Constructor Detail

CNLSFProcess

public CNLSFProcess()
Creates a new LSFBsubProcess Used with XML Descriptors


CNLSFProcess

public CNLSFProcess(ExternalProcess targetProcess)
Creates a new LSFBsubProcess

Parameters:
targetProcess - The target process associated to this process. The target process represents the process that will be launched with the bsub command
Method Detail

internalStartProcess

protected void internalStartProcess(java.lang.String commandToExecute)
                             throws java.io.IOException
Overrides:
internalStartProcess in class AbstractExternalProcessDecorator
Throws:
java.io.IOException

internalBuildCommand

protected java.lang.String internalBuildCommand()
Overrides:
internalBuildCommand in class LSFBSubProcess

buildCNBSubCommand

protected java.lang.String buildCNBSubCommand()


Copyright 2001-2005 INRIA All Rights Reserved.