Class MyServiceManagerAppInst

java.lang.Object
de.iip_ecosphere.platform.services.AbstractServiceManager<MyArtifactDescriptor,MyServiceDescriptor>
test.de.iip_ecosphere.platform.services.MyServiceManagerAppInst
All Implemented Interfaces:
de.iip_ecosphere.platform.services.ServiceManager, de.iip_ecosphere.platform.services.ServiceOperations

class MyServiceManagerAppInst extends de.iip_ecosphere.platform.services.AbstractServiceManager<MyArtifactDescriptor,MyServiceDescriptor>
A test service manager for multiple instances in an application. Does not support advanced operations, just for basic functional tests.
Author:
Holger Eichelberger, SSE
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.iip_ecosphere.platform.services.AbstractServiceManager

    de.iip_ecosphere.platform.services.AbstractServiceManager.TypedDataConnection

    Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.services.ServiceOperations

    de.iip_ecosphere.platform.services.ServiceOperations.StreamLogMode
  • Field Summary

    Fields inherited from interface de.iip_ecosphere.platform.services.ServiceManager

    PROGRESS_COMPONENT_ID

    Fields inherited from interface de.iip_ecosphere.platform.services.ServiceOperations

    EXC_ALREADY_KNOWN, OPTION_ARGS, OPTION_ENSEMBLE, OPTION_MEMLIMITS, OPTION_PARAMS, OPTION_SERVERS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Sets up the service manager.
  • Method Summary

    Modifier and Type
    Method
    Description
    addArtifact(URI location)
     
    void
    cloneArtifact(String artifactId, URI location)
     
    protected Predicate<de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor>
     
     
    void
    startService(String... serviceId)
     
    void
    startService(Map<String,String> options, String... serviceId)
     
    void
    stopService(String... serviceId)
     
    void
    updateService(String serviceId, URI location)
     

    Methods inherited from class de.iip_ecosphere.platform.services.AbstractServiceManager

    activateService, addArtifact, checkId, checkServiceInstances, clear, determineExternalConnections, determineFunctionalConnections, determineInternalConnections, getArtifact, getArtifactDescriptor, getArtifactIds, getArtifacts, getInputDataConnectors, getOutputDataConnectors, getParameters, getService, getServiceDescriptor, getServiceIds, getServiceInstanceCount, getServices, getServiceState, getStub, handleInstantiatedServices, isValidId, isValidIdBut, migrateService, passivateService, pruneServers, reconfigureService, removeArtifact, setServiceState, setState, sortByDependency, sortByDependency, switchToService, topLevel

    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.ServiceOperations

    streamLog