Class AbstractDelegatingServiceTest.MyService
java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractService
test.de.iip_ecosphere.platform.services.environment.AbstractDelegatingServiceTest.MyService
- 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.MyService
extends de.iip_ecosphere.platform.services.environment.AbstractService
A test service.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID -
Constructor Summary
ConstructorsConstructorDescriptionMyService(de.iip_ecosphere.platform.services.environment.YamlService yaml) Creates an abstract service from YAML information.MyService(String id, String name, de.iip_ecosphere.platform.support.Version version, String description, boolean isDeployable, boolean isTopLevel, de.iip_ecosphere.platform.services.environment.ServiceKind kind) Creates an abstract service. -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.services.environment.AbstractService
activate, addConfigurer, addConfigurer, addConfigurer, addTypeSubstitution, createGenericInstance, createGenericInstance, createGenericInstanceByPlugin, createGenericMultiInstance, createGenericMultiInstance, createGenericMultiInstanceByPlugin, createInstance, createInstance, createInstance, createInstanceByPlugin, getArg, getDescription, getId, getKind, getName, getNetMgtKeyAddress, getResourceAsStream, getState, getStringArg, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, initializeFrom, isDeployable, isTopLevel, notifyReconfigured, passivate, reconf, reconfigure, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setState, start, stop, transferDataMethods 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
createType, createType, getParameterConfigurer, getParameterNames
-
Constructor Details
-
MyService
MyService(String id, String name, de.iip_ecosphere.platform.support.Version version, String description, boolean isDeployable, boolean isTopLevel, de.iip_ecosphere.platform.services.environment.ServiceKind kind) Creates an abstract service.- Parameters:
id- the id of the servicename- the name of the serviceversion- the version of the servicedescription- a description of the service, may be emptyisDeployable- whether the service is decentrally deployableisTopLevel- whether the service is a top-level (non-nested) servicekind- the service kind
-
MyService
MyService(de.iip_ecosphere.platform.services.environment.YamlService yaml) Creates an abstract service from YAML information.- Parameters:
yaml- the service information as read from YAML- See Also:
-
-
Method Details
-
migrate
- Throws:
ExecutionException
-
update
- Throws:
ExecutionException
-
switchTo
- Throws:
ExecutionException
-