Class DefaultServiceFactory

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

public class DefaultServiceFactory extends Object implements IServiceFactory
The default service factory that provides implementations for the services that come bundled with the aquima runtime.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • DefaultServiceFactory

      public DefaultServiceFactory()
  • Method Details

    • getService

      public IService getService(ApplicationID application, String name)
      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.
      name - the service-type name
      Returns:
      the service interface which should be returned, null when not available.
    • toString

      public String toString()
      Overrides:
      toString in class Object