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 2007/03/19 11:17:32 UTC

[jira] Created: (FELIX-259) Add support for factory components

Add support for factory components
----------------------------------

                 Key: FELIX-259
                 URL: https://issues.apache.org/jira/browse/FELIX-259
             Project: Felix
          Issue Type: Improvement
          Components: Declarative Services
            Reporter: Felix Meschberger


Implement support for Factory Components currently missing in the Felix scr project.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-259) Add support for factory components

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

Felix Meschberger updated FELIX-259:
------------------------------------

    Attachment: FELIX-259.diff

Attached is a the patch to support a host of features of Declarative Services:

   > Support for Configuration Admin Service
   > Support for Factory Components
   > Cleanup of Component States
   > Refactoring of code using class hierarchies for component "types"
   > Factory Components use ManagedServiceFactory to get configuration
   > Other Components use ConfigurationAdmin.getConfiguration for configuration support

This code has been tested with the Configuration Admin Service posted to FELIX-11.

> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>         Attachments: FELIX-259.diff
>
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-259) Add support for factory components

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

Felix Meschberger reassigned FELIX-259:
---------------------------------------

    Assignee: Felix Meschberger

> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>         Assigned To: Felix Meschberger
>         Attachments: FELIX-259.diff, FELIX-259_2.diff
>
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-259) Add support for factory components

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

Felix Meschberger closed FELIX-259.
-----------------------------------


> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>         Attachments: FELIX-259.diff, FELIX-259_2.diff
>
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-259) Add support for factory components

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

Felix Meschberger updated FELIX-259:
------------------------------------

    Attachment: FELIX-259_2.diff

Updated patch fixing a timing issue: The DepencyManager used to extend the ServiceTracker and overwrote the addingService method to handle added services.

In certain situations, the DependencyManager was not able to correctly handle added services. If a dependency is added after the Component is enabled, the DependencyManager is notified by the addingService being called through the ServiceTracker. If this is the first service registered, the method is called while ServiceTracker.size() still returns zero. This causes activation of the component to fail.

This modified patch now directly implemens the ServiceListener interface and correctly handles this situation. 

Other changes in this patch:
  > Added more trace logging
  > Handle Service Modifications by removing/adding the service from/to the component

> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>         Attachments: FELIX-259.diff, FELIX-259_2.diff
>
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-259) Add support for factory components

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

Felix Meschberger commented on FELIX-259:
-----------------------------------------

Committed the patch FELIX-259_2 above, which also implements the requirement of FELIX-258.

> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>         Attachments: FELIX-259.diff, FELIX-259_2.diff
>
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-259) Add support for factory components

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

Felix Meschberger updated FELIX-259:
------------------------------------

    Description: 
Implement support for Factory Components currently missing in the Felix scr project.

I am working on this support.

  was:Implement support for Factory Components currently missing in the Felix scr project.


> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-259) Add support for factory components

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

Felix Meschberger resolved FELIX-259.
-------------------------------------

    Resolution: Fixed

Patch committed

> Add support for factory components
> ----------------------------------
>
>                 Key: FELIX-259
>                 URL: https://issues.apache.org/jira/browse/FELIX-259
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services
>            Reporter: Felix Meschberger
>         Attachments: FELIX-259.diff, FELIX-259_2.diff
>
>
> Implement support for Factory Components currently missing in the Felix scr project.
> I am working on this support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.