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: [email protected]
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>                                         
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to