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

Reply via email to