Package iip.impl
Class ParallelRoutingProcessor2Impl
- java.lang.Object
-
- de.iip_ecosphere.platform.services.environment.AbstractService
-
- de.iip_ecosphere.platform.services.environment.DefaultServiceImpl
-
- iip.impl.ParallelRoutingProcessor2Impl
-
- 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,ParallelRoutingProcessor2Interface
public abstract class ParallelRoutingProcessor2Impl extends de.iip_ecosphere.platform.services.environment.DefaultServiceImpl implements ParallelRoutingProcessor2Interface
IIP-Ecosphere supporting service implementation for 'ParallelRoutingProcessor2'. 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<?>>paramConfigurersprivate java.util.List<de.iip_ecosphere.platform.services.environment.DataIngestor<RoutingTestData>>routingTestDataIngestors-
Fields inherited from interface iip.interfaces.ParallelRoutingProcessor2Interface
SERVICE_ID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedParallelRoutingProcessor2Impl(de.iip_ecosphere.platform.services.environment.ServiceKind kind)Fallback constructor setting most fields to "empty" default values.protectedParallelRoutingProcessor2Impl(de.iip_ecosphere.platform.services.environment.YamlService yaml)Creates a service instance from YAML information.protectedParallelRoutingProcessor2Impl(java.lang.String id, de.iip_ecosphere.platform.services.environment.ServiceKind kind)Fallback constructor setting most fields to "empty" default values.protectedParallelRoutingProcessor2Impl(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 voidattachRoutingTestDataIngestor(de.iip_ecosphere.platform.services.environment.DataIngestor<RoutingTestData> ingestor)Attaches a return value ingestor for asynchronous processing.de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>getParameterConfigurer(java.lang.String paramName)java.util.Set<java.lang.String>getParameterNames()protected booleanhasRoutingTestDataIngestor()Returns whether there are registered RoutingTestData ingestors.protected inthasRoutingTestDataIngestorCount()Returns the number of registered RoutingTestData ingestors.protected voidingestRoutingTestData(RoutingTestData data)Sendsdatato all registered RoutingTestData ingestors.protected voidregisterParameterConfigurers()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 iip.interfaces.ParallelRoutingProcessor2Interface
processRoutingCommand, processRoutingTestData
-
-
-
-
Field Detail
-
routingTestDataIngestors
private java.util.List<de.iip_ecosphere.platform.services.environment.DataIngestor<RoutingTestData>> routingTestDataIngestors
-
paramConfigurers
private java.util.Map<java.lang.String,de.iip_ecosphere.platform.services.environment.ParameterConfigurer<?>> paramConfigurers
-
-
Constructor Detail
-
ParallelRoutingProcessor2Impl
protected ParallelRoutingProcessor2Impl(de.iip_ecosphere.platform.services.environment.ServiceKind kind)
Fallback constructor setting most fields to "empty" default values.- Parameters:
kind- the service kind
-
ParallelRoutingProcessor2Impl
protected ParallelRoutingProcessor2Impl(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 servicekind- the service kind
-
ParallelRoutingProcessor2Impl
protected ParallelRoutingProcessor2Impl(de.iip_ecosphere.platform.services.environment.YamlService yaml)
Creates a service instance from YAML information.- Parameters:
yaml- the service information as read from YAML
-
ParallelRoutingProcessor2Impl
protected ParallelRoutingProcessor2Impl(java.lang.String serviceId, java.io.InputStream ymlFile)Creates a service instance from a service id and a YAML artifact.- Parameters:
serviceId- the service idymlFile- 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:
getParameterConfigurerin interfacede.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider- Specified by:
getParameterConfigurerin interfacede.iip_ecosphere.platform.services.environment.Service
-
getParameterNames
public java.util.Set<java.lang.String> getParameterNames()
- Specified by:
getParameterNamesin interfacede.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider- Specified by:
getParameterNamesin interfacede.iip_ecosphere.platform.services.environment.Service
-
registerParameterConfigurers
protected void registerParameterConfigurers()
Registers the configurers.
-
attachRoutingTestDataIngestor
public void attachRoutingTestDataIngestor(de.iip_ecosphere.platform.services.environment.DataIngestor<RoutingTestData> ingestor)
Description copied from interface:ParallelRoutingProcessor2InterfaceAttaches a return value ingestor for asynchronous processing.- Specified by:
attachRoutingTestDataIngestorin interfaceParallelRoutingProcessor2Interface- Parameters:
ingestor- the ingestor instance
-
hasRoutingTestDataIngestor
protected boolean hasRoutingTestDataIngestor()
Returns whether there are registered RoutingTestData ingestors.- Returns:
trueif there are RoutingTestData ingestors,falseelse
-
hasRoutingTestDataIngestorCount
protected int hasRoutingTestDataIngestorCount()
Returns the number of registered RoutingTestData ingestors.- Returns:
- the number of RoutingTestData ingestors
-
ingestRoutingTestData
protected void ingestRoutingTestData(RoutingTestData data)
Sendsdatato all registered RoutingTestData ingestors.- Parameters:
data- the data to be sent
-
-