Hi there, You can also instrument MBeans via AOP.
The assumption that fields of an MBean are accessed via reflection is false. For standard and XMBeans the MBean attributes are accessed by the MBean server via a set/get method (), and the set/getMethod() is what accesses the field, so instrumentation takes place normally (i.e. no reflection) on the MBean class itself. This should also be the case for dynamic MBeans unless you use reflection in your set/getAttribute() methods. I have updated the injboss example in cvs to include AOP interceptin of a standard MBean. Kabir View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859202#3859202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859202 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development