[
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.