Class RunnableApplication

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List argList  
      protected java.util.ArrayList<java.lang.String> environment  
      protected Execute exec  
      protected java.lang.String executable  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addApplicationInfo​(CasProcessorConfiguration aCasProcessorConfiguration, CpeCasProcessor aCasProcessor)
      Sets up command line used to launch Cas Processor in a seperate process.
      protected java.lang.String getSysEnvVarValue​(java.lang.String aKey)
      Returns a value of a given environment variable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • executable

        protected java.lang.String executable
      • environment

        protected java.util.ArrayList<java.lang.String> environment
      • argList

        protected java.util.List argList
    • Constructor Detail

      • RunnableApplication

        public RunnableApplication()
    • Method Detail

      • 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 configuration
        aCasProcessor -
        Throws:
        ResourceConfigurationException - wraps Exception
      • 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