You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2016/11/10 12:20:58 UTC

[jira] [Comment Edited] (FELIX-5403) Improve the Javadoc for org.apache.felix.dm.ComponentStateListener

    [ https://issues.apache.org/jira/browse/FELIX-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15653910#comment-15653910 ] 

Pierre De Rop edited comment on FELIX-5403 at 11/10/16 12:20 PM:
-----------------------------------------------------------------

Hi Dobias;

I committed the final patch in revision 1769099, where the STARTING/STARTED/STOPPING/STOPPED events have simply been added to the ComponentState.
I let you verify if it's ok in your environment (please turn the issue to Resolved if you are satisfied, thanks).

now, can you describe more specifically what you are trying to do ? So, you need to obtain the ServiceReference of a component ?  Are you instead trying to obtain the ServiceRegistration of your service providing component ?

You have to know that if you declare a volatile ServiceRegistration field in your service providing component, then it will be injected it.
(please check documentation secton in [1] (see "What happens during component instantiation ?" section).

let me know if you need more informations ?



was (Author: pderop):
Hi Dobias;

I committed the final patch in revision 1769099, where the STARTING/STARTED/STOPPING/STOPPED events have simply been added to the ComponentState.
I let you verify it's ok in your environment (please turn the issue to Resolved if you are satisfied, thanks).

now, can you describe more specifically what you are trying to do ? So, you need to obtain the ServiceReference of a component ? 
are you instead trying to objtain the ServiceRegistration of your service providing component ?

You have to know that if you declare a ServiceRegistration field in your service providing component, then it will be injected it.
(please check documentation secton in [1] (see "What happens during component instantiation ?" section).

let me know if you need more informations.


> Improve the Javadoc for org.apache.felix.dm.ComponentStateListener
> ------------------------------------------------------------------
>
>                 Key: FELIX-5403
>                 URL: https://issues.apache.org/jira/browse/FELIX-5403
>             Project: Felix
>          Issue Type: Improvement
>          Components: Dependency Manager
>    Affects Versions: org.apache.felix.dependencymanager-r8
>            Reporter: Dobias van Buuren
>            Assignee: Pierre De Rop
>
> The class level javadoc in org.apache.felix.dm.ComponentStateListener still mentiones the methods from the DM 3 version of the ComponentStateListener interface (starting, started, stopping and stopped).
> Those methods aren't available anymore in the DM 4 version.
> It would be nice if this gets corrected in a newer version, because it is not trivial what the alternatives in org.apache.felix.dm.ComponentState are.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)