Implement a new document factory base class (MappedDocumentFactory class and IMappedDocumentFactory interface).
Example Usage:
With following Doc class.
Developer can use one of the following approach:
At plugin Activator start method, register the document class.
Create an osgi component, at the bind method for the IMappedDocumentFactory service.
Create a subclass of MappedDocumentFactory, register as IDocFactory service (DO NOT register as IMappedDocumentFactory service).
https://wiki.idempiere.org/en/NF9.1_OSGi_New_Document_Factory
Implement a new document factory base class (MappedDocumentFactory class and IMappedDocumentFactory interface).
Example Usage:
With following Doc class.
Developer can use one of the following approach:
At plugin Activator start method, register the document class.
Create an osgi component, at the bind method for the IMappedDocumentFactory service.
Create a subclass of MappedDocumentFactory, register as IDocFactory service (DO NOT register as IMappedDocumentFactory service).