You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Clement Escoffier <cl...@gmail.com> on 2013/05/01 09:25:02 UTC
Re: [iPOJO] org.apache.felix.ipojo.handlers.event.Publisher deprecated
Hi,
It's in the annotations bundle (http://mir2.ovh.net/ftp.apache.org/dist//felix/org.apache.felix.ipojo.annotations-1.8.6.jar).
Regards,
Clement
On 30 avr. 2013, at 13:03, Michiel Vermandel <mv...@yahoo.com> wrote:
> Can you please tell me which bundle exports org.apache.felix.ipojo.handlers.event.publisher?
>
> Thanks
>
>
> -----------------
> http://www.codessentials.com - Your essential software, for free!
> Follow us at http://twitter.com/#!/Codessentials
>
>
> ________________________________
> From: Clement Escoffier <cl...@gmail.com>
> To: users@felix.apache.org; Michiel Vermandel <mv...@yahoo.com>
> Sent: Tuesday, April 30, 2013 11:41 AM
> Subject: Re: [iPOJO] org.apache.felix.ipojo.handlers.event.Publisher deprecated
>
>
> Hi,
>
> The new Publisher class is: org.apache.felix.ipojo.handlers.event.publisher.Publisher. I'm updating the documentation.
>
> Regards,
>
> Clement
>
> On 30 avr. 2013, at 10:07, Michiel Vermandel <mv...@yahoo.com> wrote:
>
>> Hi,
>>
>> I'm following http://felix.apache.org/site/event-admin-handlers.html
>> I'm using Apache Felix iPOJO (1.8.6) and Apache Felix iPOJO Annotations (1.8.6).
>>
>> Now, if I put this part in my code:
>>
>>
>> @Publishes(name = "myPublisher", topics = "bar,nuts")
>> private Publisher m_publisher;
>>
>> I get a warning on "private Publisher m_publisher;" telling me that Publisher is deprecated.
>>
>> Publisher is imported by
>> import org.apache.felix.ipojo.handlers.event.Publisher;
>>
>> Am I using a wrong import? (It is specified as such in the doc).
>>
>> Thank you.
>>
>>
>> -----------------
>> http://www.codessentials.com - Your essential software, for free!
>> Follow us at http://twitter.com/#!/Codessentials
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org