Package com.aquima.interactions.matching
Interface IMatchEngineFactory
- All Known Implementing Classes:
MatchEngineFactory
public interface IMatchEngineFactory
This factory interface defines the methods a match engine factory should implement to create new match engine.
- Since:
- 6.2
- Author:
- F. van der Meer, O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(IMetaModel model, IMatchEngineDS datasource, IMatchTypeFactory matchTypeFactory, IResourceManager resources, ILicenseProvider licenseProvider) This method should create a new match engine using the provided arguments.
-
Method Details
-
create
IMatchEngine create(IMetaModel model, IMatchEngineDS datasource, IMatchTypeFactory matchTypeFactory, IResourceManager resources, ILicenseProvider licenseProvider) This method should create a new match engine using the provided arguments.- Parameters:
model
- The meta model containing the application definition.datasource
- The match engine data source used to initialize the match engine data.matchTypeFactory
- The factory which knows all the custom match function which the match engine may use.resources
- The resource manager that may be used by match functions to locate external resources.licenseProvider
- The optional license provider that is used to check if match engine construction is allowed.- Returns:
- A match engine instance
- Throws:
InitializationException
- This exception is thrown when the match engine could not be initialized due to a fatal error.
-