Class AbstractTestServiceManager.ServiceImpl
- java.lang.Object
-
- de.iip_ecosphere.platform.services.environment.AbstractService
-
- test.de.iip_ecosphere.platform.services.spring.AbstractTestServiceManager.ServiceImpl
-
- 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:
- AbstractTestServiceManager
protected static class AbstractTestServiceManager.ServiceImpl extends de.iip_ecosphere.platform.services.environment.AbstractServiceA fake service implementation for testing.- Author:
- Holger Eichelberger, SSE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServiceImpl(de.iip_ecosphere.platform.services.ServiceDescriptor desc)Creates a service implementation based on a service descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmigrate(java.lang.String resourceId)voidreconfigure(java.util.Map<java.lang.String,java.lang.String> values)voidswitchTo(java.lang.String targetId)voidupdate(java.net.URI location)-
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, rollbackReconfigurationOnFailure, setLibJars, setState, start, stop
-
-
-
-
Method Detail
-
migrate
public void migrate(java.lang.String resourceId) throws java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.ExecutionException
-
update
public void update(java.net.URI location) throws java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.ExecutionException
-
switchTo
public void switchTo(java.lang.String targetId) throws java.util.concurrent.ExecutionException- Throws:
java.util.concurrent.ExecutionException
-
reconfigure
public void reconfigure(java.util.Map<java.lang.String,java.lang.String> values) throws java.util.concurrent.ExecutionException- Specified by:
reconfigurein interfacede.iip_ecosphere.platform.services.environment.Service- Overrides:
reconfigurein classde.iip_ecosphere.platform.services.environment.AbstractService- Throws:
java.util.concurrent.ExecutionException
-
-