Interface Service<S extends ServiceSpec,R extends ServiceResult>

Type Parameters:
S - The ServiceSpec instance that will be executed by the service.
R - The ServiceResult instance that will be returned by the service.
All Known Subinterfaces:
Service.DQIDServicePurgeIndicator

public interface Service<S extends ServiceSpec,R extends ServiceResult>
Defines a service. It must not be implemented directly; instead, one of the implemented services must be called via the DQIDServiceFactory.getService(ServiceType) API.
Since:
2.7.0
  • Method Details

    • execute

      R execute(S spec)
    • getServiceType

      ServiceType getServiceType()