Class RunnableApplication
java.lang.Object
org.apache.uima.collection.impl.cpm.container.deployer.RunnableApplication
- Direct Known Subclasses:
JavaApplication
,NonJavaApplication
The Class RunnableApplication.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addApplicationInfo
(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessor) Sets up command line used to launch Cas Processor in a separate process.protected String
getSysEnvVarValue
(String aKey) Returns a value of a given environment variable.
-
Field Details
-
executable
The executable. -
exec
The exec. -
environment
The environment. -
argList
The arg list.
-
-
Constructor Details
-
RunnableApplication
public RunnableApplication()
-
-
Method Details
-
addApplicationInfo
protected void addApplicationInfo(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessor) throws ResourceConfigurationException Sets up command line used to launch Cas Processor in a separate process. Combines environment variables setup in the CPE descriptor with a System environment variables.- Parameters:
aCasProcessorConfiguration
- - access to Cas Processor configurationaCasProcessor
- the a cas processor- Throws:
ResourceConfigurationException
- wraps Exception
-
getSysEnvVarValue
Returns a value of a given environment variable.- Parameters:
aKey
- - name of the environment variable- Returns:
- - value correspnding to environment variable
-