Hi all,
I'm a bit puzzled by this (hopefully simple to solve) issue.

I'm writing an EventHandler implementation using SCR annotations.
How do I specify multi-value  property for the topics to listen to?
I've this at the moment, is it correct?
   /**
    * The OSGi Event Topics to listen to
    *
    * @scr.property values1="org/osgi/framework/ServiceEvent/REGISTERED"
    *  values2="org/osgi/framework/ServiceEvent/UNREGISTERING"
    */
   static final String EVT_TOPICS = EventConstants.EVENT_TOPIC;

In http://felix.apache.org/site/apache-felix-maven-scr-plugin.html there are *two* paragraphs that explain how to deal with multivalue properties, and I can't understand
which is the correct one.

Thanks,
Guido P. Spadotto

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to