Class LenientServiceFactory

java.lang.Object
com.aquima.interactions.framework.LenientFactoryBase
com.aquima.interactions.framework.service.LenientServiceFactory
All Implemented Interfaces:
IServiceFactory

public class LenientServiceFactory extends LenientFactoryBase implements IServiceFactory
Service factory that may be used during development to provide stubbed implementations for missing services.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • LenientServiceFactory

      public LenientServiceFactory()
  • Method Details

    • getService

      public IService getService(ApplicationID application, String serviceTypeName)
      Description copied from interface: IServiceFactory
      This method should provide an implementation of the service interface for the specified name and application id. The name passed to this method will be the service-type name as specified in the studio. When service could not be created the factory should throw an exception, when the service could not be found a null pointer should be returned.
      Specified by:
      getService in interface IServiceFactory
      Parameters:
      application - The ID of the application module for which a service is requested.
      serviceTypeName - the service-type name
      Returns:
      the service interface which should be returned, null when not available.