jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Mari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-2932) Limit the scope of exported packages
Date Tue, 02 Jun 2015 12:57:18 GMT

    [ https://issues.apache.org/jira/browse/OAK-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569052#comment-14569052

Francesco Mari commented on OAK-2932:

I started to define an OSGi subsystem in [a fork on GitHub|https://github.com/francescomari/jackrabbit-oak/tree/subsystem].

> Limit the scope of exported packages
> ------------------------------------
>                 Key: OAK-2932
>                 URL: https://issues.apache.org/jira/browse/OAK-2932
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>            Assignee: Francesco Mari
>              Labels: modularization, osgi
>             Fix For: 1.3.0
> Oak currently exports *a lot* of packages even though those are only used by Oak itself.
We should probably leverage OSGi subsystems here and only export the bare minimum to the outside
world. This will simplify evolution of Oak internal APIs as with the current approach changes
to such APIs always leak to the outside world. 
> That is, we should have an Oak OSGi sub-system as an deployment option. Clients would
then only need to deploy that into their OSGi container and would only see APIs actually meant
to be exported for everyone (like e.g. the JCR API). At the same time Oak could go on leveraging
OSGi inside this subsystem.
> cc [~bosschaert] as you introduced us to this idea. 

This message was sent by Atlassian JIRA

View raw message