You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Toni Menzel (JIRA)" <ji...@apache.org> on 2009/07/07 21:40:16 UTC

[jira] Created: (FELIX-1306) getDataFile handling in DeploymentSessionImpl sometimes does not work

getDataFile handling in DeploymentSessionImpl sometimes does not work
---------------------------------------------------------------------

                 Key: FELIX-1306
                 URL: https://issues.apache.org/jira/browse/FELIX-1306
             Project: Felix
          Issue Type: Improvement
          Components: Deployment Admin
            Reporter: Toni Menzel
         Attachments: felix-deploymentadmim-deploymentsession-datafile.patch

This is not really a bug but can be improved. Getting BundleContext from Bundle instance via reflection currently does not catch all bundle implementations.
To be safe, a second lookup with "getMethods(..)" is done.

Also this component (amongst others) can really need some documentation. Some (for class under "patch") has been added (like reference to corresponding specs because osgi-API is not really dead clear at that point).

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


[jira] Updated: (FELIX-1306) getDataFile handling in DeploymentSessionImpl sometimes does not work

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

Toni Menzel updated FELIX-1306:
-------------------------------

    Attachment: felix-deploymentadmim-deploymentsession-datafile.patch

includes an extended "hunt" for getBundleContext methods via reflection and some more docs.

> getDataFile handling in DeploymentSessionImpl sometimes does not work
> ---------------------------------------------------------------------
>
>                 Key: FELIX-1306
>                 URL: https://issues.apache.org/jira/browse/FELIX-1306
>             Project: Felix
>          Issue Type: Improvement
>          Components: Deployment Admin
>            Reporter: Toni Menzel
>         Attachments: felix-deploymentadmim-deploymentsession-datafile.patch
>
>
> This is not really a bug but can be improved. Getting BundleContext from Bundle instance via reflection currently does not catch all bundle implementations.
> To be safe, a second lookup with "getMethods(..)" is done.
> Also this component (amongst others) can really need some documentation. Some (for class under "patch") has been added (like reference to corresponding specs because osgi-API is not really dead clear at that point).

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


[jira] Resolved: (FELIX-1306) getDataFile handling in DeploymentSessionImpl sometimes does not work

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

Marcel Offermans resolved FELIX-1306.
-------------------------------------

    Resolution: Fixed

Patch applied.

> getDataFile handling in DeploymentSessionImpl sometimes does not work
> ---------------------------------------------------------------------
>
>                 Key: FELIX-1306
>                 URL: https://issues.apache.org/jira/browse/FELIX-1306
>             Project: Felix
>          Issue Type: Improvement
>          Components: Deployment Admin
>            Reporter: Toni Menzel
>            Assignee: Marcel Offermans
>         Attachments: felix-deploymentadmim-deploymentsession-datafile.patch
>
>
> This is not really a bug but can be improved. Getting BundleContext from Bundle instance via reflection currently does not catch all bundle implementations.
> To be safe, a second lookup with "getMethods(..)" is done.
> Also this component (amongst others) can really need some documentation. Some (for class under "patch") has been added (like reference to corresponding specs because osgi-API is not really dead clear at that point).

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


[jira] Assigned: (FELIX-1306) getDataFile handling in DeploymentSessionImpl sometimes does not work

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

Marcel Offermans reassigned FELIX-1306:
---------------------------------------

    Assignee: Marcel Offermans

> getDataFile handling in DeploymentSessionImpl sometimes does not work
> ---------------------------------------------------------------------
>
>                 Key: FELIX-1306
>                 URL: https://issues.apache.org/jira/browse/FELIX-1306
>             Project: Felix
>          Issue Type: Improvement
>          Components: Deployment Admin
>            Reporter: Toni Menzel
>            Assignee: Marcel Offermans
>         Attachments: felix-deploymentadmim-deploymentsession-datafile.patch
>
>
> This is not really a bug but can be improved. Getting BundleContext from Bundle instance via reflection currently does not catch all bundle implementations.
> To be safe, a second lookup with "getMethods(..)" is done.
> Also this component (amongst others) can really need some documentation. Some (for class under "patch") has been added (like reference to corresponding specs because osgi-API is not really dead clear at that point).

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