<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: jboss-service.xml 44143 2006-04-24 18:19:21Z kkhan $ -->

<!-- ===================================================================== -->
<!--  JBoss Server Configuration                                           -->
<!-- ===================================================================== -->

<server>

   <!-- The code for the service is different for the different run scenarios
      *** JBoss 4.0
          * JDK 1.4 - org.jboss.aop.deployment.AspectManagerService
          * JDK 5 (not using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService
          * JDK 5 (using -javaagent switch) - org.jboss.aop.deployment.AspectManagerServiceJDK5
          * BEA JRockit 1.4.2 - org.jboss.aop.deployment.AspectManagerService
      *** JBoss 3.2
          * JDK 1.4 - org.jboss.aop.deployment.AspectManagerService32
          * JDK 5 (not using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService32
          * JDK 5 (using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService32JDK5
          * BEA JRockit 1.4.2 - org.jboss.aop.deployment.AspectManagerService32
   -->
   <mbean code="@SERVICE_NAME@"
      name="jboss.aop:service=AspectManager">
      <attribute name="EnableLoadtimeWeaving">false</attribute>
      <!-- only relevant when EnableLoadtimeWeaving is true.
           When transformer is on, every loaded class gets
           transformed.  If AOP can't find the class, then it
           throws an exception.  Sometimes, classes may not have
           all the classes they reference.  So, the Suppressing
           is needed.  (i.e. Jboss cache in the default configuration -->
      <attribute name="SuppressTransformationErrors">true</attribute>
      <attribute name="Prune">true</attribute>
      <attribute name="Include">org.jboss.test, org.jboss.injbossaop</attribute>
      <attribute name="Exclude">org.jboss.</attribute>
      <!-- This avoids instrumentation of hibernate cglib enhanced proxies
      <attribute name="Ignore">*$$EnhancerByCGLIB$$*</attribute> -->
      <attribute name="Optimized">true</attribute>
      <attribute name="Verbose">false</attribute>
   </mbean>

   <mbean code="org.jboss.aop.deployment.AspectDeployer"
      name="jboss.aop:service=AspectDeployer">
   </mbean>

</server>
