[jboss-cvs] JBossAS SVN: r71572 - projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 1 16:43:29 EDT 2008
Author: kabir.khan at jboss.com
Date: 2008-04-01 16:43:29 -0400 (Tue, 01 Apr 2008)
New Revision: 71572
Modified:
projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleAopTestCase.xml
projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleBeansTestCase.xml
projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleDeploymentTestCase.xml
Log:
Modified: projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleAopTestCase.xml
===================================================================
--- projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleAopTestCase.xml 2008-04-01 20:42:05 UTC (rev 71571)
+++ projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleAopTestCase.xml 2008-04-01 20:43:29 UTC (rev 71572)
@@ -65,6 +65,8 @@
<arraybind name="TestArrayBinding" type="READ_WRITE">
<interceptor-ref name="org.jboss.test.microcontainer.beans.TestInterceptor"/>
</arraybind>
+
+ <declare-error name="DeclareError" expr="call(* org.acme.Foo->error(..))">Error!!!</declare-error>
</domain>
</aop>
\ No newline at end of file
Modified: projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleBeansTestCase.xml
===================================================================
--- projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleBeansTestCase.xml 2008-04-01 20:42:05 UTC (rev 71571)
+++ projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleBeansTestCase.xml 2008-04-01 20:43:29 UTC (rev 71572)
@@ -191,4 +191,12 @@
<property name="binding"><inject bean="TestArrayBinding" state="Instantiated"/></property>
</bean>
+ <bean name="DeclareError" class="org.jboss.aop.microcontainer.beans.DeclareDefinition">
+ <property name="manager"><inject bean="AOPDomain" property="domain"/></property>
+ <property name="name">DeclareError</property>
+ <property name="expr">call(* org.acme.Foo->error(..))</property>
+ <property name="message">Error!!!</property>
+ <property name="warning">false</property>
+ </bean>
+
</deployment>
Modified: projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleDeploymentTestCase.xml
===================================================================
--- projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleDeploymentTestCase.xml 2008-04-01 20:42:05 UTC (rev 71571)
+++ projects/microcontainer/branches/jaxb-aop-mc-int/aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/beans/test/DomainSimpleDeploymentTestCase.xml 2008-04-01 20:43:29 UTC (rev 71572)
@@ -65,6 +65,8 @@
<arraybind name="TestArrayBinding" type="READ_WRITE">
<interceptor-ref name="org.jboss.test.microcontainer.beans.TestInterceptor"/>
</arraybind>
+
+ <declare-error name="DeclareError" expr="call(* org.acme.Foo->error(..))">Error!!!</declare-error>
</domain>
</deployment>
More information about the jboss-cvs-commits
mailing list