Hi all,

It is not really clear to me which is the right way to pass configuration
parameters to servlet Filter implementation as OSGi service...

I am implementing a Filter that could be instantiated multiple times, by
specifying different configuration parameters, as

@Service(value = Filter.class)
@Component(
    immediate = false,
    metatype = true,
    configurationFactory = true
)
@Properties({
    @Property(name = "service.description", value = "Manages the cookie for
the Random Feature"),
    @Property(name = "sling.filter.scope", value = "request")
})

But once instantiated, I cannot see it been invoked...
Any hint?

TIA, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://twitter.com/simonetripodi

Reply via email to