[
https://issues.apache.org/jira/browse/FELIX-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger updated FELIX-128:
------------------------------------
Fix Version/s: scr-1.0.0
> Implementing missing ComponentContext methods
> ---------------------------------------------
>
> Key: FELIX-128
> URL: https://issues.apache.org/jira/browse/FELIX-128
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services (SCR)
> Affects Versions: felix-0.8.0
> Environment: org.apache.felix.scr project, Rev. 438041
> Reporter: Felix Meschberger
> Assignee: Richard S. Hall
> Fix For: scr-1.0.0
>
> 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.
-
You can reply to this email to add a comment to the issue online.