[
https://issues.apache.org/jira/browse/SLING-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-3320.
--------------------------------------
Resolution: Fixed
Fixed ClassCastException in Rev. 1568213.
> Use service ranking to sort BindingsValuesProvider services
> -----------------------------------------------------------
>
> Key: SLING-3320
> URL: https://issues.apache.org/jira/browse/SLING-3320
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Core 2.0.24
> Reporter: Feike Visser
> Assignee: Felix Meschberger
> Fix For: Scripting Core 2.0.26
>
> 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)