You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/02/25 21:32:27 UTC

[jira] Created: (FELIX-2139) Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package

Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package
------------------------------------------------------------------------------------------------------

                 Key: FELIX-2139
                 URL: https://issues.apache.org/jira/browse/FELIX-2139
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
            Reporter: Guillaume Nodet




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-2139) Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-2139.
-----------------------------------


> Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2139
>                 URL: https://issues.apache.org/jira/browse/FELIX-2139
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-2139) Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-2139.
------------------------------------

       Resolution: Fixed
    Fix Version/s: bundlerepository-1.6.0
         Assignee: Guillaume Nodet

We can reopen and discuss it more if people do not agree with the direction used.

> Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2139
>                 URL: https://issues.apache.org/jira/browse/FELIX-2139
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2139) Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839204#action_12839204 ] 

Richard S. Hall commented on FELIX-2139:
----------------------------------------

Doesn't this approach make it more costly to use the OSGi API since it requires every returned object to be wrapped as opposed to just creating extended interface...

Not sure how much of an issue this is, but for example getting all resources from a repository now requires another wrapper object for each resource returned...if you have large repositories this starts to add up...of course, the API should likely not return complete arrays anyway.

Another approach is to not create analogs of every interface, for example, we don't change Resource do we? If not, then we could just use that interface in our other interfaces.

I don't have a definitive suggestion, but I am just not sure this approach feels completely like the right one.

> Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2139
>                 URL: https://issues.apache.org/jira/browse/FELIX-2139
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2139) Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838935#action_12838935 ] 

Guillaume Nodet commented on FELIX-2139:
----------------------------------------

http://svn.apache.org/viewcvs?view=rev&rev=916503

The approach i've taken for that is to actually redefine the whole api in a new package and provide a layer to still implement the old api if available.
This allows to have a clean api and have more freedom in case more changes are needed.

> Move extensions to a new api into the bundlerepository module as to not pollute the org.osgi.* package
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2139
>                 URL: https://issues.apache.org/jira/browse/FELIX-2139
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.