You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2007/03/03 20:55:50 UTC

[jira] Created: (FELIX-220) iPOJO callbakcs and ManagedServiceFactory configuration

iPOJO callbakcs and ManagedServiceFactory configuration
-------------------------------------------------------

                 Key: FELIX-220
                 URL: https://issues.apache.org/jira/browse/FELIX-220
             Project: Felix
          Issue Type: Improvement
            Reporter: Clement Escoffier


- iPOJO callbacks cannot invoke protected and private methods (both Lifecycle callback and Dependency Callback)
- When creating an instance with the ManagedServiceConfiguration, this configuration is unaccepted by the factory if there is not the "name" property.


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


[jira] Commented: (FELIX-220) iPOJO callbakcs and ManagedServiceFactory configuration

Posted by "Steven E. Harris (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477833 ] 

Steven E. Harris commented on FELIX-220:
----------------------------------------

I tested the patch and found that my private callbacks do get called as intended.

> iPOJO callbakcs and ManagedServiceFactory configuration
> -------------------------------------------------------
>
>                 Key: FELIX-220
>                 URL: https://issues.apache.org/jira/browse/FELIX-220
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Clement Escoffier
>         Attachments: callbacks.patch
>
>
> - iPOJO callbacks cannot invoke protected and private methods (both Lifecycle callback and Dependency Callback)
> - When creating an instance with the ManagedServiceConfiguration, this configuration is unaccepted by the factory if there is not the "name" property.

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


[jira] Updated: (FELIX-220) iPOJO callbakcs and ManagedServiceFactory configuration

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

Clement Escoffier updated FELIX-220:
------------------------------------

    Attachment: callbacks.patch

Patch to apply on the iPOJO core project.

- Change getMethod by getDeclaredMethod (and setAccessible) to allow private and protected callback.
- Add the name property inside configuration (with the given pid value) when ManagedServiceFactory is invoked.

> iPOJO callbakcs and ManagedServiceFactory configuration
> -------------------------------------------------------
>
>                 Key: FELIX-220
>                 URL: https://issues.apache.org/jira/browse/FELIX-220
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Clement Escoffier
>         Attachments: callbacks.patch
>
>
> - iPOJO callbacks cannot invoke protected and private methods (both Lifecycle callback and Dependency Callback)
> - When creating an instance with the ManagedServiceConfiguration, this configuration is unaccepted by the factory if there is not the "name" property.

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


[jira] Updated: (FELIX-220) iPOJO callbakcs and ManagedServiceFactory configuration

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

Clement Escoffier updated FELIX-220:
------------------------------------

    Component/s: iPOJO

> iPOJO callbakcs and ManagedServiceFactory configuration
> -------------------------------------------------------
>
>                 Key: FELIX-220
>                 URL: https://issues.apache.org/jira/browse/FELIX-220
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Clement Escoffier
>         Attachments: callbacks.patch
>
>
> - iPOJO callbacks cannot invoke protected and private methods (both Lifecycle callback and Dependency Callback)
> - When creating an instance with the ManagedServiceConfiguration, this configuration is unaccepted by the factory if there is not the "name" property.

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


[jira] Closed: (FELIX-220) iPOJO callbakcs and ManagedServiceFactory configuration

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

Richard S. Hall closed FELIX-220.
---------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I have applied this patch.

> iPOJO callbakcs and ManagedServiceFactory configuration
> -------------------------------------------------------
>
>                 Key: FELIX-220
>                 URL: https://issues.apache.org/jira/browse/FELIX-220
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Clement Escoffier
>         Assigned To: Richard S. Hall
>         Attachments: callbacks.patch
>
>
> - iPOJO callbacks cannot invoke protected and private methods (both Lifecycle callback and Dependency Callback)
> - When creating an instance with the ManagedServiceConfiguration, this configuration is unaccepted by the factory if there is not the "name" property.

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