Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.3-SNAPSHOT
-
None
Description
The current osgi solution of using require-bundle between the api and impl jars is generally thought of as osgi worst-practice and just doesn't work with snapshot versions (presumably a bug in the bundle plugin).
Also this does not easily support hiding the impl classes.
Geronimo would like to use a single bundle containing both api and impl and hide the impl classes as much as possible. This requires some slight modifications to the FactoryFinder so that impl classes can be loaded from the same classloader as FactoryFinder if they are not visible to the context class loader.
I think myfaces would be the best place for this combined bundle but geronimo can build it if necessary. The FactoryFinder classloader changes are therefore more important.
I've suggested a module name which maps to the bundle symbolic name well, as this seems to be the preferred maven/osgi strategy at apache.
Attachments
Attachments
Issue Links
- is related to
-
MYFACES-2983 Consider using myfaces class's classloader when loading resources
-
- Closed
-