[jboss-cvs] JBossAS SVN: r69503 - 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
Thu Jan 31 12:49:52 EST 2008


Author: kabir.khan at jboss.com
Date: 2008-01-31 12:49:52 -0500 (Thu, 31 Jan 2008)
New Revision: 69503

Modified:
   projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/ScopingAopTestCase.xml
Log:
[JBAOP-468] Fix ScopingAopTestCase

Modified: projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/ScopingAopTestCase.xml
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/ScopingAopTestCase.xml	2008-01-31 15:46:31 UTC (rev 69502)
+++ projects/microcontainer/trunk/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/ScopingAopTestCase.xml	2008-01-31 17:49:52 UTC (rev 69503)
@@ -23,10 +23,22 @@
       <annotation>@org.jboss.metadata.plugins.scope.ApplicationScope("testApp")</annotation>
       <annotation>@org.jboss.metadata.plugins.scope.DeploymentScope("deployment1")</annotation>
       <property name="pointcut">execution(* $instanceof{org.jboss.test.microcontainer.support.SimpleBeanImpl}->*(..))</property>
-      <property name="aspect"><inject bean="InterceptedAspect" property="definition"/></property>
       <property name="manager"><inject bean="AspectManagerDeployment1"/></property>
+      <property name="advices">
+         <list>
+            <inject bean="InterceptedBinding$1"/>
+         </list>
+      </property>
    </bean>
 
+   <bean name="InterceptedBinding$1" class="org.jboss.aop.microcontainer.beans.InterceptorEntry">
+      <annotation>@org.jboss.metadata.plugins.scope.ApplicationScope("testApp")</annotation>
+      <annotation>@org.jboss.metadata.plugins.scope.DeploymentScope("deployment1")</annotation>
+      <property name="manager"><inject bean="AspectManagerDeployment1"/></property>
+      <property name="aspect"><inject bean="InterceptedAspect"/></property>
+      <property name="binding"><inject bean="InterceptedBinding" state="Instantiated"/></property>
+   </bean>
+
    <bean name="simple1" class="org.jboss.test.microcontainer.support.SimpleBeanImpl">
       <annotation>@org.jboss.metadata.plugins.scope.ApplicationScope("testApp")</annotation>
       <annotation>@org.jboss.metadata.plugins.scope.DeploymentScope("deployment1")</annotation>




More information about the jboss-cvs-commits mailing list