Class LenientServiceFactory
java.lang.Object
com.aquima.interactions.framework.LenientFactoryBase
com.aquima.interactions.framework.service.LenientServiceFactory
- All Implemented Interfaces:
IServiceFactory
Service factory that may be used during development to provide stubbed implementations for missing services.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetService
(ApplicationID application, String serviceTypeName) This method should provide an implementation of the service interface for the specified name and application id.Methods inherited from class com.aquima.interactions.framework.LenientFactoryBase
setExcludePrefixes, setIncludePrefixes, shouldProvideFor
-
Constructor Details
-
Method Details
-
getService
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 interfaceIServiceFactory
- 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.
-