JBoss Community

Re: Weld-OSGi integration in AS7

created by Ales Justin in JBoss AS7 Development - View the full discussion
@Inject @OSGiService

IntfA a;

I actually don't like this approach or I don't see why it's needed, even though non-existing annotations are mostly harmless.

I would simply stay -- code wise -- on the plain CDI,

where configuration wise one could -- due to potential over-kill --- flag the deployment as OSGi aware,

meaning it would also try to resolve injections against registered OSGi services; wrt type matching.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community