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 2006/08/29 15:24:22 UTC
[jira] Created: (FELIX-128) Implementing missing ComponentContext
methods
Implementing missing ComponentContext methods
---------------------------------------------
Key: FELIX-128
URL: http://issues.apache.org/jira/browse/FELIX-128
Project: Felix
Issue Type: Improvement
Components: Declarative Services
Affects Versions: 0.8.0
Environment: org.apache.felix.scr project, Rev. 438041
Reporter: Felix Meschberger
Attachments: ComponentContext_fm20060829.diff
The scr project currently misses methods for the ComponentContext implementation, namely the getUsingBundle() and service location methods. I assume, these methods are fairly easy to implement:
(1) getUsingBundle: set a private field of the ComponentContextImpl to the requiring bundle if created from a service factory. Otherwise this field remains null.
(2) service location: find the DependencyManager whose metadata has the requested name and select a service.
Attached is a patch, which implements this functionality.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (FELIX-128) Implementing missing ComponentContext
methods
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FELIX-128?page=all ]
Felix Meschberger closed FELIX-128.
-----------------------------------
Thanks for applying the patch. So I assume, this may be closed.
> Implementing missing ComponentContext methods
> ---------------------------------------------
>
> Key: FELIX-128
> URL: http://issues.apache.org/jira/browse/FELIX-128
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services
> Affects Versions: 0.8.0
> Environment: org.apache.felix.scr project, Rev. 438041
> Reporter: Felix Meschberger
> Assigned To: Richard S. Hall
> Attachments: ComponentContext_fm20060829.diff
>
>
> The scr project currently misses methods for the ComponentContext implementation, namely the getUsingBundle() and service location methods. I assume, these methods are fairly easy to implement:
> (1) getUsingBundle: set a private field of the ComponentContextImpl to the requiring bundle if created from a service factory. Otherwise this field remains null.
> (2) service location: find the DependencyManager whose metadata has the requested name and select a service.
> Attached is a patch, which implements this functionality.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (FELIX-128) Implementing missing ComponentContext
methods
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/FELIX-128?page=all ]
Richard S. Hall resolved FELIX-128.
-----------------------------------
Resolution: Fixed
Assignee: Richard S. Hall
This patch has been applied.
> Implementing missing ComponentContext methods
> ---------------------------------------------
>
> Key: FELIX-128
> URL: http://issues.apache.org/jira/browse/FELIX-128
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services
> Affects Versions: 0.8.0
> Environment: org.apache.felix.scr project, Rev. 438041
> Reporter: Felix Meschberger
> Assigned To: Richard S. Hall
> Attachments: ComponentContext_fm20060829.diff
>
>
> The scr project currently misses methods for the ComponentContext implementation, namely the getUsingBundle() and service location methods. I assume, these methods are fairly easy to implement:
> (1) getUsingBundle: set a private field of the ComponentContextImpl to the requiring bundle if created from a service factory. Otherwise this field remains null.
> (2) service location: find the DependencyManager whose metadata has the requested name and select a service.
> Attached is a patch, which implements this functionality.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira