Class RestServiceVisitor
java.lang.Object
com.aquima.interactions.communication.impl.RestServiceVisitor
- All Implemented Interfaces:
IRestServiceVisitor
Internal visitor class to create service definitions from a datasource.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestServiceVisitor
(CommunicationEngine engine, IMetaModel metaModel, IRuleEngine ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRestService
(IRestServiceDS datasource) This method adds a restservice to the communication engine.
-
Constructor Details
-
RestServiceVisitor
protected RestServiceVisitor(CommunicationEngine engine, IMetaModel metaModel, IRuleEngine ruleEngine)
-
-
Method Details
-
addRestService
Description copied from interface:IRestServiceVisitor
This method adds a restservice to the communication engine.- Specified by:
addRestService
in interfaceIRestServiceVisitor
- Parameters:
datasource
- The datasource representing the restservice, may not be null- Throws:
InitializationException
- This exception is thrown when the restservice could not be initialized with the provided data source.
-