felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-2968) Bind method of optional references can be called before bind methods of mandatory references
Date Sun, 05 Jun 2011 15:41:47 GMT

     [ 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

Mime
View raw message