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

    Constructors
    Constructor
    Description
    MyService(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

    Modifier and Type
    Method
    Description
    void
    migrate(String resourceId)
     
    void
    switchTo(String targetId)
     
    void
    update(URI location)
     

    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, transferData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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 service
      name - the name of the service
      version - the version of the service
      description - a description of the service, may be empty
      isDeployable - whether the service is decentrally deployable
      isTopLevel - whether the service is a top-level (non-nested) service
      kind - 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:
      • AbstractService.initializeFrom(YamlService)
  • Method Details