Class AbstractDelegatingMultiServiceTest.DService
java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractDelegatingService<AbstractDelegatingServiceTest.MyService>
de.iip_ecosphere.platform.services.environment.AbstractDelegatingMultiService<AbstractDelegatingServiceTest.MyService>
test.de.iip_ecosphere.platform.services.environment.AbstractDelegatingMultiServiceTest.DService
- All Implemented Interfaces:
de.iip_ecosphere.platform.services.environment.GenericMultiTypeService,de.iip_ecosphere.platform.services.environment.ParameterConfigurerProvider,de.iip_ecosphere.platform.services.environment.Service,de.iip_ecosphere.platform.services.environment.switching.ServiceBase
- Enclosing class:
AbstractDelegatingMultiServiceTest
static class AbstractDelegatingMultiServiceTest.DService
extends de.iip_ecosphere.platform.services.environment.AbstractDelegatingMultiService<AbstractDelegatingServiceTest.MyService>
A test delegating service.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsFields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID -
Constructor Summary
ConstructorsConstructorDescriptionDService(de.iip_ecosphere.platform.services.environment.YamlService yaml) Creates a service instance always delegating to#service. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractDelegatingServiceTest.MyServicecreateService(de.iip_ecosphere.platform.services.environment.YamlService yaml) protected voidprocessImpl(String inType, String data) (package private) static voidSets the service to delegate to.Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractDelegatingMultiService
attachIngestor, getImpl, getLogger, getOutTypeName, handleResult, process, processSync, registerInOutRelation, registerInputTypeTranslator, registerOutputTypeTranslatorMethods inherited from class de.iip_ecosphere.platform.services.environment.AbstractDelegatingService
activate, assignService, getDescription, getId, getKind, getName, getService, getState, getVersion, initService, isDeployable, isTopLevel, migrate, passivate, reconfigure, setState, switchTo, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.services.environment.GenericMultiTypeService
processQuiet, processSyncQuietMethods inherited from interface de.iip_ecosphere.platform.services.environment.Service
activate, addTypeSubstitution, createType, createType, getDescription, getKind, getName, getNetMgtKeyAddress, getParameterConfigurer, getParameterNames, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, isDeployable, isTopLevel, migrate, passivate, reconfigure, switchTo, updateMethods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
getId, getState, setState
-
Field Details
-
service
-
-
Constructor Details
-
DService
public DService(de.iip_ecosphere.platform.services.environment.YamlService yaml) Creates a service instance always delegating to#service.- Parameters:
yaml- the YAML service description
-
-
Method Details
-
setService
Sets the service to delegate to.- Parameters:
svc- the new service
-
createService
protected AbstractDelegatingServiceTest.MyService createService(de.iip_ecosphere.platform.services.environment.YamlService yaml) - Specified by:
createServicein classde.iip_ecosphere.platform.services.environment.AbstractDelegatingService<AbstractDelegatingServiceTest.MyService>
-
processImpl
- Specified by:
processImplin classde.iip_ecosphere.platform.services.environment.AbstractDelegatingMultiService<AbstractDelegatingServiceTest.MyService>- Throws:
IOException
-