Package iip.impl

Class SimpleDataReceiverImpl

java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractService
de.iip_ecosphere.platform.services.environment.DefaultServiceImpl
iip.impl.SimpleDataReceiverImpl
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, SimpleDataReceiverInterface

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

    Fields
    Modifier and Type
    Field
    Description
    private Map<String,de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>>
     

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

    APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID

    Fields inherited from interface iip.interfaces.SimpleDataReceiverInterface

    SERVICE_ID
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>
     
     
    protected void
    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, addTypeSubstitution, createInstance, createInstance, createInstance, getDescription, getId, getKind, getName, getNetMgtKeyAddress, getResourceAsStream, getState, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, initializeFrom, isDeployable, isTopLevel, notifyReconfigured, passivate, reconf, reconfigure, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setState, start, stop, transferData

    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, addTypeSubstitution, createType, createType, getDescription, getKind, getName, getNetMgtKeyAddress, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, isDeployable, isTopLevel, migrate, passivate, reconfigure, switchTo, update

    Methods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase

    getId, getState, setState

    Methods inherited from interface iip.interfaces.SimpleDataReceiverInterface

    processRec1
  • Field Details

    • paramConfigurers

      private Map<String,de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>> paramConfigurers
  • Constructor Details

    • SimpleDataReceiverImpl

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

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

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

      protected SimpleDataReceiverImpl(String serviceId, InputStream ymlFile)
      Creates a service instance from a service id and a YAML artifact.
      Parameters:
      serviceId - the id of the service
      ymlFile - the YML file containing the YAML artifact with the service descriptor
  • Method Details

    • getParameterConfigurer

      public de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?> getParameterConfigurer(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 Set<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.