You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by st...@live.com on 2012/11/21 15:58:34 UTC
iPOJO eventhandlerEvent
Hello,
I tried the iPOJO Event Admin Handlers from the documentation. I'm using version 1.8.0 .
I just insterted following declaration into my class:
@Publishes( // or @Publisher before the 1.7.0
name="myPublisher",
topics="bar,nuts")
private Publisher m_publisher;
(for some reason the Publisher is marked as depricated)
This results into following error:
[ERROR] 21.11.12 15:49 - [ERROR] de.itd.service.scheduler.Scheduler : Field not found in the component : org.apache.felix.ipojo.handlers.event.publisher.Publisher m_publisher
I'm using the ipojo handler event admin 1.8.0
What is wrong?
Thanks and best regards,
Stefan Kaufmann
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
RE: iPOJO eventhandlerEvent
Posted by st...@live.com.
Found the problem.
The Publisher has to be org.apache.felix.ipojo.handlers.event.publisher.Publisher and not org.apache.felix.ipojo.handlers.event.Publisher .
Those namings are a bit confusing.
Regards
Stefan Kaufmann
----------------------------------------
> From: stefan.kaufmann1@live.com
> To: users@felix.apache.org
> Subject: iPOJO eventhandlerEvent
> Date: Wed, 21 Nov 2012 14:58:34 +0000
>
> Hello,
>
> I tried the iPOJO Event Admin Handlers from the documentation. I'm using version 1.8.0 .
>
>
> I just insterted following declaration into my class:
>
> @Publishes( // or @Publisher before the 1.7.0
> name="myPublisher",
> topics="bar,nuts")
> private Publisher m_publisher;
>
>
> (for some reason the Publisher is marked as depricated)
>
>
> This results into following error:
>
> [ERROR] 21.11.12 15:49 - [ERROR] de.itd.service.scheduler.Scheduler : Field not found in the component : org.apache.felix.ipojo.handlers.event.publisher.Publisher m_publisher
>
>
>
> I'm using the ipojo handler event admin 1.8.0
>
>
> What is wrong?
>
>
>
> Thanks and best regards,
>
> Stefan Kaufmann
> ---------------------------------------------------------------------
> 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