public class JavaApplication extends RunnableApplication
argList, environment, exec, executable| Constructor and Description |
|---|
JavaApplication(CasProcessorConfiguration aCasProcessorConfiguration,
org.apache.uima.collection.metadata.CpeCasProcessor aJaxbCasProcessorConfig)
Creates an instance of component responsible for configuring java based CasProcessor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
addApplicationCmdLineArguments(CasProcessorConfiguration aCasProcessorConfiguration,
List argList,
String aExecutable)
Adds to command line any program arguments configured for this Cas Processor in the CPE
descriptor.
|
protected void |
addApplicationInfo(CasProcessorConfiguration aCasProcessorConfiguration,
org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor)
Sets up command line used to launch Cas Processor in a separate process.
|
Execute |
getExecSpec()
Returns executable section of the CPE Descriptor for.
|
getSysEnvVarValuepublic JavaApplication(CasProcessorConfiguration aCasProcessorConfiguration, org.apache.uima.collection.metadata.CpeCasProcessor aJaxbCasProcessorConfig) throws org.apache.uima.resource.ResourceConfigurationException
aCasProcessorConfiguration - -
configuration for CasProcessoraJaxbCasProcessorConfig - the a jaxb cas processor configorg.apache.uima.resource.ResourceConfigurationException - passthruprotected void addApplicationInfo(CasProcessorConfiguration aCasProcessorConfiguration, org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor) throws org.apache.uima.resource.ResourceConfigurationException
addApplicationInfo in class RunnableApplicationaCasProcessorConfiguration - -
access to Cas Processor configurationaCasProcessor - the a cas processororg.apache.uima.resource.ResourceConfigurationException - passthruprotected String[] addApplicationCmdLineArguments(CasProcessorConfiguration aCasProcessorConfiguration, List argList, String aExecutable) throws org.apache.uima.resource.ResourceConfigurationException
aCasProcessorConfiguration - -
Cas Processor configurationargList - -
list of arguments set up in the CPE descriptoraExecutable - -
executable programorg.apache.uima.resource.ResourceConfigurationException - the resource configuration exceptionpublic Execute getExecSpec()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.