You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2012/11/04 01:49:11 UTC

[jira] [Created] (FELIX-3745) [DS] A component setting its service properties should be able to set target filters

David Jencks created FELIX-3745:
-----------------------------------

             Summary: [DS]  A component setting its service properties should be able to set target filters
                 Key: FELIX-3745
                 URL: https://issues.apache.org/jira/browse/FELIX-3745
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.6.2
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: scr-1.6.2


There's some chance of infinite cycles but a lifecycle method returning new service properties ought to be able to set target filters on the dependencies.

Unless this is a bad idea and we shouldn't implement it this should be proposed for the DS 1.3 spec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-3745) [DS] A component setting its service properties should be able to set target filters

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491944#comment-13491944 ] 

David Jencks commented on FELIX-3745:
-------------------------------------

I needed a way to set a target filter based on some of the other configuration properties.  I eventually found another way to do this, but don't really see why this shouldn't work.  

It's a simple change but I don't need it for 1.6.2


                
> [DS]  A component setting its service properties should be able to set target filters
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3745
>                 URL: https://issues.apache.org/jira/browse/FELIX-3745
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.6.2
>
>
> There's some chance of infinite cycles but a lifecycle method returning new service properties ought to be able to set target filters on the dependencies.
> Unless this is a bad idea and we shouldn't implement it this should be proposed for the DS 1.3 spec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-3745) [DS] A component setting its service properties should be able to set target filters

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-3745:
-------------------------------------

    Fix Version/s:     (was: scr-1.6.2)
                   scr-1.8.0
    
> [DS]  A component setting its service properties should be able to set target filters
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3745
>                 URL: https://issues.apache.org/jira/browse/FELIX-3745
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.8.0
>
>
> There's some chance of infinite cycles but a lifecycle method returning new service properties ought to be able to set target filters on the dependencies.
> Unless this is a bad idea and we shouldn't implement it this should be proposed for the DS 1.3 spec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-3745) [DS] A component setting its service properties should be able to set target filters

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490478#comment-13490478 ] 

Felix Meschberger commented on FELIX-3745:
------------------------------------------

I am not really sure, whether this is a good idea (and useful) idea. This is already possible today by implementing this filter in the component itself.

What would be the concrete use case for this  requirement ?
                
> [DS]  A component setting its service properties should be able to set target filters
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3745
>                 URL: https://issues.apache.org/jira/browse/FELIX-3745
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.6.2
>
>
> There's some chance of infinite cycles but a lifecycle method returning new service properties ought to be able to set target filters on the dependencies.
> Unless this is a bad idea and we shouldn't implement it this should be proposed for the DS 1.3 spec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (FELIX-3745) [DS] A component setting its service properties should be able to set target filters

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490478#comment-13490478 ] 

Felix Meschberger edited comment on FELIX-3745 at 11/5/12 6:51 AM:
-------------------------------------------------------------------

I am not really sure, whether this is a good idea (and useful) idea. This is already possible today by implementing this filter in the component itself.

What would be the concrete use case for this  requirement ?

Also, I would prefer this to not block the 1.6.2 release.
                
      was (Author: fmeschbe):
    I am not really sure, whether this is a good idea (and useful) idea. This is already possible today by implementing this filter in the component itself.

What would be the concrete use case for this  requirement ?
                  
> [DS]  A component setting its service properties should be able to set target filters
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3745
>                 URL: https://issues.apache.org/jira/browse/FELIX-3745
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: scr-1.6.2
>
>
> There's some chance of infinite cycles but a lifecycle method returning new service properties ought to be able to set target filters on the dependencies.
> Unless this is a bad idea and we shouldn't implement it this should be proposed for the DS 1.3 spec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira