The best way is to get it injected. 
Same way we do it for Enterprise Beans and @Spring.

And you have different flavors of SpringInterceptor.
One to use with EJB3 (the simplest way to use it in JEE env), or you can use it 
as AOP interceptor.
If used with AOP you need to configure things a bit more.
But once you do that, there is no limit on what you can intercept.

In the worst case you can always fallback to JNDI lookup for BeanFactory
and then do simple getBean on BF.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180964
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to