Hi, So, you can't use properties in your filters (even if it's a good idea). However, you can specify the filter of your dependency in the instance configuration ( http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/service-requirement-handler.html#filtered-requirement ):
You need to set the "requires.filters" property to a map. This map contains the dependency id as key and the filter as value. Cheers, Clement 2015-02-20 13:43 GMT+01:00 Thiago Souza <[email protected]>: > Hi, > > Is it possible to define a @Requires filter with a value that is defined in > another property (i.e. @Requires(filter="${propName}")? > > If not, is there any way to dynamically select a dependency through > configuration? > > Thanks, > Thiago Souza > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/ipojo-filtering-dependency-through-configuration-tp5011580.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

