Hello,
I am trying to migrate from the a javadoc style of specifying OSGI
information to using the proper Java notations. I am using information
that I found at the following URL
http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.htmlbut
I haven't been able to find an example of creating a Property that has
a "valueRef"
.
Here's an example of the old style that I am trying to convert:
@scr.property name="event.topics" valueRef="ReplicationAction.EVENT_TOPIC"
I would like to be able to...
import org.apache.felix.scr.annotations.*;
...
@Component(immediate=true)
@Service
@Properties({
@Property(name = "service.vendor", value = "xyz"),
@Property(name = "event.topics", ????)
})
I would appreciate any pointers/links to more info. I may not have the
right google keywords to dig the answer out.
Thanks,
Phillip