Class AbstractServiceDescriptor<A extends ArtifactDescriptor>

java.lang.Object
de.iip_ecosphere.platform.services.AbstractServiceDescriptor<A>
Type Parameters:
A - the type of artifact descriptor
All Implemented Interfaces:
ServiceDescriptor

public abstract class AbstractServiceDescriptor<A extends ArtifactDescriptor> extends Object implements ServiceDescriptor
Abstract ServiceDescriptor implementation, e.g., including a representation of the ServiceState statemachine. We do not protect the setters here explicitly, e.g., through a builder pattern as we assume that the respective messages will only be called within the package of the implementing manager. Holds a ServiceStub while the underlying service instance is operational. Must be set by the service manager, will be released when state goes to ServiceState.STOPPING.
Author:
Holger Eichelberger, SSE