Class RunnableApplication

java.lang.Object
org.apache.uima.collection.impl.cpm.container.deployer.RunnableApplication
Direct Known Subclasses:
JavaApplication, NonJavaApplication

public class RunnableApplication extends Object
The Class RunnableApplication.
  • Field Details

    • executable

      protected String executable
      The executable.
    • exec

      protected Execute exec
      The exec.
    • environment

      protected ArrayList<String> environment
      The environment.
    • argList

      protected List 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 configuration
      aCasProcessor - the a cas processor
      Throws:
      ResourceConfigurationException - wraps Exception
    • getSysEnvVarValue

      protected String getSysEnvVarValue(String aKey)
      Returns a value of a given environment variable.
      Parameters:
      aKey - - name of the environment variable
      Returns:
      - value correspnding to environment variable