[ 
https://issues.apache.org/jira/browse/SLING-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu updated SLING-3320:
--------------------------------

    Attachment: SLING-3320_1.diff

I've attached a patch that uses the natural ordering of the BVPs' service 
references in order to return the BVPs in the order of their service ranking. 
This should allow BVPs to depend on the values set by other BVPs with a lower 
service ranking.


> Execution order of BindingsValuesProvider 
> ------------------------------------------
>
>                 Key: SLING-3320
>                 URL: https://issues.apache.org/jira/browse/SLING-3320
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Feike Visser
>         Attachments: SLING-3320_1.diff
>
>
> I have implemented two basic BindingsValuesProviders like this.
> {code}
> @Service
> @Component(immediate=true)
> public class MyBindings implements BindingsValuesProvider {
> }
> {code}
> What I want to make sure is that they are *always* executed in the same 
> order, first A, then B.
> Because I want to re-use objects that were set in the first 
> BindingsValuesProvider.
> Currently I don't have a way to do this.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to