So why should @DisableAOP be the annotation with enabling AOP being the
default?
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="urn:jboss:bean-deployer:2.0">
<bean name="TestBean"
class="javax.management.monitor.GaugeMonitor">
<annotation>(a)org.jboss.aop.microcontainer.annotations.DisableAOP()</annotation>
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(exposedInterface=javax.management.monitor.GaugeMonitorMBean,name="test:name=Banana",registerDirectly=false)</annotation>
</bean>
</deployment>
- DML