Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Solution proposed by David Illsley:
"I suspect the implementation bundles should register the factories as
OSGI services and the api bundle should access the implementation
through the service. The difficulty here is avoiding a runtime
dependency on OSGI framework classes, but I think that should be
doable using an injection approach where the api bundle activator
injects a non-OSGI class into the OMAbstractFactory if OSGI services
are in use."
For more details see: http://markmail.org/message/nmpyxefndcnqoc2s