Class AbstractDelegatingServiceTest.DService
java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractDelegatingService<AbstractDelegatingServiceTest.MyService>
test.de.iip_ecosphere.platform.services.environment.AbstractDelegatingServiceTest.DService
- 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
- Enclosing class:
AbstractDelegatingServiceTest
static class AbstractDelegatingServiceTest.DService
extends de.iip_ecosphere.platform.services.environment.AbstractDelegatingService<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) (package private) static voidSets the service to delegate to.Methods 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.Service
addTypeSubstitution, createType, createType, getNetMgtKeyAddress, getParameterConfigurer, getParameterNames, getSubstitutedType, getTypeCreator, getTypeSubstitutions
-
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>
-