Add process factory base class backed by Map and Lambda functional object
Implement a new process factory base class that's backed by Map and Lambda functional object.
With following process class.
Developer can use one of the following approach:
At plugin Activator start method, register the process class.
Create an osgi component, at the bind method for IMappedDocumentFactory service component.
Create a subclass of MappedProcessFactory, register as IDocFactory service (DO NOT register as IMappedDocumentFactory service).
As illustrated in the 2 test case, first is for Activator, second is using osgi component.
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?