JBoss Community

Re: Weld-OSGi integration in AS7

created by Ales Justin in JBoss AS7 Development - View the full discussion
Thoughts?

I agree with you.

 

Additional annotation(s) should only be used to add OSGi filtering/prop information,

but *not* for additional CDI qualifiers.

e.g.

@Properties on type to add service' properties

@Filter on injection point to specify OSGi LDAP filter

 

In an env/runtime which doesn't have this filtering capability,

one could still use CDI' Instance<X> and then iterate over and do filtering manually.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community