Class AnnotatedServiceFactory

java.lang.Object
com.aquima.web.config.annotation.factory.AnnotatedFactoryBase
com.aquima.web.config.annotation.factory.AnnotatedServiceFactory
All Implemented Interfaces:
com.aquima.interactions.portal.IServiceFactory

public final class AnnotatedServiceFactory extends AnnotatedFactoryBase implements com.aquima.interactions.portal.IServiceFactory
ServiceFactory implementation that scans the Spring context for beans with an AquimaService annotation.
Since:
8.0
Author:
Jon van Leuven
See Also:
  • AquimaService
  • Constructor Details Link icon

    • AnnotatedServiceFactory Link icon

      protected AnnotatedServiceFactory(org.springframework.context.ApplicationContext ctx, String projectName)
      Constructs a service factory by scanning the Spring context for beans with an @AquimaService annotation.
      Parameters:
      ctx - The Spring context, required.
      projectName - The optional project name that is used when filtering the annotated beans.
  • Method Details Link icon

    • getService Link icon

      public com.aquima.interactions.portal.IService getService(com.aquima.interactions.foundation.ApplicationID applicationId, String serviceTypeName)
      Specified by:
      getService in interface com.aquima.interactions.portal.IServiceFactory