Package iip.impl

Class SimpleKodexDataSourceImpl

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider, de.iip_ecosphere.platform.services.environment.Service, de.iip_ecosphere.platform.services.environment.switching.ServiceBase, SimpleKodexDataSourceInterface

    public abstract class SimpleKodexDataSourceImpl
    extends de.iip_ecosphere.platform.services.environment.DefaultServiceImpl
    implements SimpleKodexDataSourceInterface
    IIP-Ecosphere supporting service implementation for 'Simple Kodex Data Source'. Generated by: EASy-Producer.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>> paramConfigurers  
      • Fields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

        APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SimpleKodexDataSourceImpl​(de.iip_ecosphere.platform.services.environment.ServiceKind kind)
      Fallback constructor setting most fields to "empty" default values.
      protected SimpleKodexDataSourceImpl​(de.iip_ecosphere.platform.services.environment.YamlService yaml)
      Creates a service instance from YAML information.
      protected SimpleKodexDataSourceImpl​(java.lang.String id, de.iip_ecosphere.platform.services.environment.ServiceKind kind)
      Fallback constructor setting most fields to "empty" default values.
      protected SimpleKodexDataSourceImpl​(java.lang.String serviceId, java.io.InputStream ymlFile)
      Creates a service instance from a service id and a YAML artifact.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?> getParameterConfigurer​(java.lang.String paramName)  
      java.util.Set<java.lang.String> getParameterNames()  
      protected void registerParameterConfigurers()
      Registers the configurers.
      • Methods inherited from class de.iip_ecosphere.platform.services.environment.DefaultServiceImpl

        migrate, switchTo, update
      • 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, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setState, start, stop
      • 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, getVersion, isDeployable, isTopLevel, migrate, passivate, reconfigure, switchTo, update
      • Methods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

        getId, getState, setState
    • Field Detail

      • paramConfigurers

        private java.util.Map<java.lang.String,​de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>> paramConfigurers
    • Constructor Detail

      • SimpleKodexDataSourceImpl

        protected SimpleKodexDataSourceImpl​(de.iip_ecosphere.platform.services.environment.ServiceKind kind)
        Fallback constructor setting most fields to "empty" default values.
        Parameters:
        kind - the service kind
      • SimpleKodexDataSourceImpl

        protected SimpleKodexDataSourceImpl​(java.lang.String id,
                                            de.iip_ecosphere.platform.services.environment.ServiceKind kind)
        Fallback constructor setting most fields to "empty" default values.
        Parameters:
        id - the id of the service
        kind - the service kind
      • SimpleKodexDataSourceImpl

        protected SimpleKodexDataSourceImpl​(de.iip_ecosphere.platform.services.environment.YamlService yaml)
        Creates a service instance from YAML information.
        Parameters:
        yaml - the service information as read from YAML
      • SimpleKodexDataSourceImpl

        protected SimpleKodexDataSourceImpl​(java.lang.String serviceId,
                                            java.io.InputStream ymlFile)
        Creates a service instance from a service id and a YAML artifact.
        Parameters:
        serviceId - the service id
        ymlFile - the YML file containing the YAML artifact with the service descriptor
    • Method Detail

      • getParameterConfigurer

        public de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?> getParameterConfigurer​(java.lang.String paramName)
        Specified by:
        getParameterConfigurer in interface de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider
        Specified by:
        getParameterConfigurer in interface de.iip_ecosphere.platform.services.environment.Service
      • getParameterNames

        public java.util.Set<java.lang.String> getParameterNames()
        Specified by:
        getParameterNames in interface de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider
        Specified by:
        getParameterNames in interface de.iip_ecosphere.platform.services.environment.Service
      • registerParameterConfigurers

        protected void registerParameterConfigurers()
        Registers the configurers.