I didn't even realize you could get the proxy object from the context, might 
have been a better solution.  

The @Tx stuff works, and I've been using the JBoss AOP stuff for a few years in 
production, so I don't really worry about that (aside from the 1/3 increase in 
deploy time, but that's no biggie)

As for adding a jboss specific hack, doing that would kind of suck, think about 
all the places you do things like:

  | Logger log = Logger.getLogger(getClass());
  | 

You'd end up with a funky subclass in your log files, since the only way to 
make self references adhear to the annotations would be to generate a subclass 
or use LoadTimeWeaving. (I believe)

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to