org.apache.uima.collection.impl.cpm.container.deployer
Class RunnableApplication
java.lang.Object
org.apache.uima.collection.impl.cpm.container.deployer.RunnableApplication
- Direct Known Subclasses:
- JavaApplication, NonJavaApplication
public class RunnableApplication
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executable
protected java.lang.String executable
exec
protected Execute exec
environment
protected java.util.ArrayList<java.lang.String> environment
argList
protected java.util.List argList
RunnableApplication
public RunnableApplication()
addApplicationInfo
protected void addApplicationInfo(CasProcessorConfiguration aCasProcessorConfiguration,
CpeCasProcessor aCasProcessor)
throws ResourceConfigurationException
- Sets up command line used to launch Cas Processor in a seperate process. Combines environment
variables setup in the CPE descriptor with a System environment variables.
- Parameters:
aCasProcessorConfiguration
- -
access to Cas Processor configurationaJaxbCasProcessorConfig
-
- Throws:
ResourceConfigurationException
getSysEnvVarValue
protected java.lang.String getSysEnvVarValue(java.lang.String aKey)
- Returns a value of a given environment variable
- Parameters:
aKey
- -
name of the environment variable
- Returns:
- - value correspnding to environment variable
Copyright © 2012. All Rights Reserved.