[jboss-user] [JBoss/Spring Integration] - Re: AS5 @Spring injection failing

ALRubinger do-not-reply at jboss.com
Fri Feb 13 19:04:31 EST 2009


My tests to intercept newInstance calls via new() show that the pointcut won't work this way.

Perhaps what's needed is:

http://www.jboss.org/jbossaop/docs/2.0.0.GA/docs/aspect-framework/misc/reflection.html

The way @EJB, @Resource, etc works is that EJB3 looks for these and applies the logic as part of the Container lifecycle, so the interceptor approach is a bit different that our traditional handling.

S,
ALR

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210078#4210078

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210078



More information about the jboss-user mailing list