Class DefaultServiceFactory
java.lang.Object
com.aquima.interactions.framework.service.DefaultServiceFactory
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetService
(ApplicationID application, String name) This method should provide an implementation of the service interface for the specified name and application id.toString()
-
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.name
- the service-type name- Returns:
- the service interface which should be returned, null when not available.
-
toString
-