![]() |
Qorus Integration Engine® Enterprise Edition 6.0.27_prod
|
Back to the Developer's Guide Table of Contents
Qore-language Development extension modules can be made to support multiple interface types in the same module; so, for example, a single development extension module can support workflows, services, and develmodules_job_modules "jobs".
In such cases, injected system APIs for other interface types are non-functional; so for example if a development extension module supports all interface types and is used in a workflow, in that case any access to injected job or service APIs will result in undefined behavior.
The workflow modules workflow option allows user modules to provide new base classes for step classes to allow reusable base classes for steps to be delivered along with Qorus.
Workflow modules have the class-based workflow API injected into them when loaded in order to allow them to extend these classes and provide reusable high-level functionality to Qorus workflows.
To use base classes provided by a workflow module as the base class of a step class, use the workflow modules option in your workflow definition.
The following is an example workflow module providing a subclass for the QorusNormalStep class:
The service-modules option allows user modules to provide new base classes for service classes to allow reusable base classes for services to be delivered along with Qorus.
Service modules have the class-based service API injected into them when loaded in order to allow them to extend these classes and provide reusable high-level functionality to Qorus services.
To use base classes provided by a service module as the base class of a service class, use the service-modules option in your service definition.
The following is an example service module:
The Job Modules option allows user modules to provide new base classes for the job logic to allow reusable base classes for jobs to be delivered along with Qorus.
Job modules have the class-based job API injected into them when loaded in order to allow them to extend these classes and provide reusable high-level functionality to Qorus jobs.
To use base classes provided by a job module as the base class of a job class, use the Job Modules option in your job definition.
The following is an example job module: