You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2011/06/05 17:41:47 UTC

[jira] [Resolved] (FELIX-2968) Bind method of optional references can be called before bind methods of mandatory references

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

Felix Meschberger resolved FELIX-2968.
--------------------------------------

    Resolution: Not A Problem
      Assignee: Felix Meschberger

I think this can be written off

> Bind method of optional references can be called before bind methods of mandatory references
> --------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2968
>                 URL: https://issues.apache.org/jira/browse/FELIX-2968
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: Guest
>            Assignee: Felix Meschberger
>              Labels: felix, scr
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Hi, 
> i got the following problem.
> I've some references to services, some of them are mandatory and some are optional. Well now osgi/scr waits to call the bind methods till all mandatory services are available. 
> However when it starts to call the bind methods it seems that it doesn't care if those are mandatory or optional. This can result in a not expected behavior where optional dependencies are satisfied before the mandatory are. 
> Consider you have a optional dynamic multiple service binding which you want to use with a mandatory service. There's as far as it looks to me no way to ensure that the mandatory binds are called before optional are allowed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira