Class MultiKodexRestService.ExKodexRestService

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.services.environment.MonitoringService, de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider, de.iip_ecosphere.platform.services.environment.Service, de.iip_ecosphere.platform.services.environment.switching.ServiceBase
    Enclosing class:
    MultiKodexRestService

    protected class MultiKodexRestService.ExKodexRestService
    extends KodexRestService<java.lang.String,​java.lang.String>
    Extended KODEX service for multi-type queries.
    Author:
    Holger Eichelberger, SSE
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.iip_ecosphere.platform.services.environment.AbstractProcessService

        de.iip_ecosphere.platform.services.environment.AbstractProcessService.RunnableWithStop
    • Field Summary

      • Fields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

        APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID
    • Constructor Summary

      Constructors 
      Constructor Description
      ExKodexRestService​(de.iip_ecosphere.platform.services.environment.YamlService yaml, java.lang.String dataSpec)
      Creates an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String adjustRestQuery​(java.lang.String input, java.lang.String inTypeName)  
      protected void handleReception​(java.lang.String data)  
      • Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractRestProcessService

        getConnection, getNewConnectionInstance, getNewConnectionInstanceQuiet, process, process, setupConnectionManager, stop, toSendString, waitForConnection
      • Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractProcessService

        addProcessSpecCmdArg, attachIngestor, attachMetricsProvider, createAndConfigureProcess, createProcess, createProcess, getCallbacks, getExecutableName, getExecutableName, getExecutablePrefix, getExecutablePrefix, getExecutableSuffix, getInputTranslator, getOsArch, getOutputTranslator, getPid, getProcessId, getProcessSpec, getServiceIn, getServiceSpec, handleErrorStream, handleOutputStream, notifyCallbacks, processQuiet, redirectIO, selectNotNull, selectNotNull, setInheritIo, waitAndDestroy, waitAndDestroy
      • Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractRunnablesService

        register
      • Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractService

        activate, addConfigurer, addConfigurer, addConfigurer, createInstance, createInstance, createInstance, getDescription, getId, getKind, getName, getNetMgtKeyAddress, getResourceAsStream, getState, getVersion, initializeFrom, isDeployable, isTopLevel, notifyReconfigured, passivate, reconf, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setState
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.iip_ecosphere.platform.services.environment.Service

        activate, getDescription, getKind, getName, getNetMgtKeyAddress, getParameterConfigurer, getParameterNames, getVersion, isDeployable, isTopLevel, passivate
      • Methods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

        getId, getState, setState
    • Constructor Detail

      • ExKodexRestService

        public ExKodexRestService​(de.iip_ecosphere.platform.services.environment.YamlService yaml,
                                  java.lang.String dataSpec)
        Creates an instance.
        Parameters:
        yaml - the string information as YAML
        dataSpec - name of the data spec file (within the process home path) to pass to KODEX; related files such as api or actions must be there as well and referenced from the data spec file
    • Method Detail

      • adjustRestQuery

        protected java.lang.String adjustRestQuery​(java.lang.String input,
                                                   java.lang.String inTypeName)
        Overrides:
        adjustRestQuery in class KodexRestService<java.lang.String,​java.lang.String>
      • handleReception

        protected void handleReception​(java.lang.String data)
        Overrides:
        handleReception in class de.iip_ecosphere.platform.services.environment.AbstractRestProcessService<java.lang.String,​java.lang.String>