Add process factory base class backed by Map and Lambda functional object

Description

Implement a new process factory base class that's backed by Map and Lambda functional object.

Example usage:

With following process class.

Developer can use one of the following approach:

  1. At plugin Activator start method, register the process class.

  2. Create an osgi component, at the bind method for IMappedDocumentFactory service component.

  3. Create a subclass of MappedProcessFactory, register as IDocFactory service (DO NOT register as IMappedDocumentFactory service).

Environment

None

Activity

Show:
Heng Sin Low
February 6, 2021, 1:50 PM

As illustrated in the 2 test case, first is for Activator, second is using osgi component.

Carlos Ruiz
February 6, 2021, 1:38 PM

Hi , would be good to add a wiki page about these new model/process/callout approach.

In a normal plugin where/how is the mapping added? In the Activator?

Fixed

Assignee

Heng Sin Low

Reporter

Heng Sin Low

Labels

None

Tested By

None

Components

Fix versions

Priority

Minor