Class ServiceFactoryTemplate

java.lang.Object
com.aquima.interactions.test.templates.resource.ServiceFactoryTemplate

public class ServiceFactoryTemplate extends Object
Template that can be used to create a service factory.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addService(String serviceTypeName, com.aquima.interactions.portal.IService serviceImpl)
    This method may be used to add a custom service.
    protected com.aquima.interactions.portal.IService
    getService(String serviceName)
     
    com.aquima.interactions.portal.IServiceFactory
    This method converts the template to a service factory implementation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServiceFactoryTemplate

      protected ServiceFactoryTemplate()
  • Method Details

    • addService

      public void addService(String serviceTypeName, com.aquima.interactions.portal.IService serviceImpl)
      This method may be used to add a custom service.
      Parameters:
      serviceTypeName - The type name of the service.
      serviceImpl - The service implementation.
    • getService

      protected com.aquima.interactions.portal.IService getService(String serviceName)
    • toFactory

      public com.aquima.interactions.portal.IServiceFactory toFactory()
      This method converts the template to a service factory implementation.
      Returns:
      Service factory implementation based on the template.