Class SpringAsyncServiceBaseTests.MyService
java.lang.Object
test.de.iip_ecosphere.platform.services.environment.spring.SpringAsyncServiceBaseTests.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:
SpringAsyncServiceBaseTests
private static class SpringAsyncServiceBaseTests.MyService
extends Object
implements de.iip_ecosphere.platform.services.environment.Service
-
Field Summary
FieldsFields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()getId()de.iip_ecosphere.platform.services.environment.ServiceKindgetKind()getName()de.iip_ecosphere.platform.services.environment.ServiceStategetState()de.iip_ecosphere.platform.support.Versionbooleanbooleanvoidvoidvoidreconfigure(Map<String, String> values) voidsetState(de.iip_ecosphere.platform.services.environment.ServiceState state) voidvoidMethods 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
-
id
-
-
Constructor Details
-
MyService
Creates an instance.- Parameters:
id- the service id
-
-
Method Details
-
getId
- Specified by:
getIdin interfacede.iip_ecosphere.platform.services.environment.switching.ServiceBase
-
getState
public de.iip_ecosphere.platform.services.environment.ServiceState getState()- Specified by:
getStatein interfacede.iip_ecosphere.platform.services.environment.switching.ServiceBase
-
setState
public void setState(de.iip_ecosphere.platform.services.environment.ServiceState state) throws ExecutionException - Specified by:
setStatein interfacede.iip_ecosphere.platform.services.environment.switching.ServiceBase- Throws:
ExecutionException
-
getName
- Specified by:
getNamein interfacede.iip_ecosphere.platform.services.environment.Service
-
getVersion
public de.iip_ecosphere.platform.support.Version getVersion()- Specified by:
getVersionin interfacede.iip_ecosphere.platform.services.environment.Service
-
getDescription
- Specified by:
getDescriptionin interfacede.iip_ecosphere.platform.services.environment.Service
-
isDeployable
public boolean isDeployable()- Specified by:
isDeployablein interfacede.iip_ecosphere.platform.services.environment.Service
-
isTopLevel
public boolean isTopLevel()- Specified by:
isTopLevelin interfacede.iip_ecosphere.platform.services.environment.Service
-
getKind
public de.iip_ecosphere.platform.services.environment.ServiceKind getKind()- Specified by:
getKindin interfacede.iip_ecosphere.platform.services.environment.Service
-
migrate
- Specified by:
migratein interfacede.iip_ecosphere.platform.services.environment.Service- Throws:
ExecutionException
-
update
- Specified by:
updatein interfacede.iip_ecosphere.platform.services.environment.Service- Throws:
ExecutionException
-
switchTo
- Specified by:
switchToin interfacede.iip_ecosphere.platform.services.environment.Service- Throws:
ExecutionException
-
activate
- Specified by:
activatein interfacede.iip_ecosphere.platform.services.environment.Service- Throws:
ExecutionException
-
passivate
- Specified by:
passivatein interfacede.iip_ecosphere.platform.services.environment.Service- Throws:
ExecutionException
-
reconfigure
- Specified by:
reconfigurein interfacede.iip_ecosphere.platform.services.environment.Service- Throws:
ExecutionException
-