[ 
https://issues.apache.org/jira/browse/FELIX-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840059#action_12840059
 ] 

Guillaume Nodet commented on FELIX-2144:
----------------------------------------

One problem is that the resolver does not care about repositories, but the 
deployer does.  Unfortunately, both things are conflated in the Resolver 
interface, which makes it mandatory to use a Repository so that we can retrieve 
and check the timestamps.

I'm less worried about using double links as an implementation detail for 
optimization, but the more I think about it, the more I think the API should 
not expose that.

Now that we have our own API, I'm thinking we can switch to Java 5 and use 
Collection<Resource> instead of arrays.

> Add global requirements and capabilities
> ----------------------------------------
>
>                 Key: FELIX-2144
>                 URL: https://issues.apache.org/jira/browse/FELIX-2144
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>
> Global constraints on resources would be useful to be able to add constraints 
> to the resolution like:
>   * do not use a resource
>   * add version range to used resources ...

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

Reply via email to