[jboss-dev] @JMX and @DisableAOP live happily together
David M. Lloyd
david.lloyd at redhat.com
Mon May 18 11:40:36 EDT 2009
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>@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
More information about the jboss-development
mailing list