<?xml version="1.0" encoding="UTF-8"?>
<aop>

   <aspect class="org.jboss.test.aop.construction.Aspect"/>
   <aspect class="org.jboss.test.aop.construction.PerInstanceAspect" scope="PER_INSTANCE"/>

   <bind pointcut="construction(org.jboss.test.aop.construction.SuperPOJO->new(..))">
      <advice aspect="org.jboss.test.aop.construction.Aspect" name="construction"/>
   </bind>


   <bind pointcut="construction(org.jboss.test.aop.construction.DefaultSuper->new(..))">
      <advice aspect="org.jboss.test.aop.construction.Aspect" name="construction2"/>
   </bind>

   <bind pointcut="construction(org.jboss.test.aop.construction.PerInstancePOJO->new(..))">
      <advice aspect="org.jboss.test.aop.construction.PerInstanceAspect" name="construction"/>
      <advice aspect="org.jboss.test.aop.construction.PerInstanceAspect" name="invocation"/>
   </bind>

</aop>
