"matt.drees" wrote : Here's another (probably bad) idea.
  | 
  | Create a Seam interceptor that looks for a @Logger field and replaces the 
default Log instance with yours.
  | 
  | Of course, your stack traces are that much bigger and maybe method calls 
are a tiny bit slower, and I think you might have to annotate all of your 
classes.  But maybe there are ways around that.

Yes, this is possible using an @PostConstruct interceptor.

Someday we really need to get around to allowing interceptors to be declared in 
components.xml, to save the need for an annotation. 

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

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

Reply via email to