[jboss-user] [JBoss AOP] - Re: How to use AOP to simulate an alternative method of a ex

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Jul 18 10:49:46 EDT 2007


There is not really any out-of-the-box way to do this with JBoss AOP, since what you suggest "breaks" how Java should work. You could maybe access the private members by reflection instead, just remember to call AccessibleObject.setAccessible(true) first.

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

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



More information about the jboss-user mailing list