[jboss-cvs] JBossAS SVN: r60121 - projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 30 12:49:18 EST 2007


Author: kabir.khan at jboss.com
Date: 2007-01-30 12:49:18 -0500 (Tue, 30 Jan 2007)
New Revision: 60121

Modified:
   projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/DeployersInterceptedTestCase.xml
Log:
Fix the pointcut expression

Modified: projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/DeployersInterceptedTestCase.xml
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/DeployersInterceptedTestCase.xml	2007-01-30 16:40:16 UTC (rev 60120)
+++ projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/DeployersInterceptedTestCase.xml	2007-01-30 17:49:18 UTC (rev 60121)
@@ -19,13 +19,7 @@
    <bean name="DeployersBinding" class="org.jboss.aop.microcontainer.beans.AspectBinding">
       <!-- This fails to match anything 
       -->
-      <property name="pointcut">execution(* $instanceof{org.jboss.test.microcontainer.support.deployers.IDeployer}->$implements(org.jboss.test.microcontainer.support.deployers.IDeployer))</property>
-      <!-- This matches the prepareDeploy method
-      <property name="pointcut">execution(* $instanceof{org.jboss.test.microcontainer.support.deployers.IDeployer}->prepareDeploy(..))</property>
-      -->
-      <!-- This matches all IDeployer methods
-         <property name="pointcut">execution(* $instanceof{org.jboss.test.microcontainer.support.deployers.IDeployer}->*(..))</property>
-      -->
+      <property name="pointcut">execution(* $instanceof{org.jboss.test.microcontainer.support.deployers.IDeployer}->$implements{org.jboss.test.microcontainer.support.deployers.IDeployer}(..))</property>
       <property name="aspect"><inject bean="DeployersAspect" property="definition"/></property>
       <property name="manager"><inject bean="AspectManager"/></property>
    </bean>




More information about the jboss-cvs-commits mailing list