[Jboss-cvs] JBossAS SVN: r55964 - branches/Branch_AOP_1_5/aop/docs/reference/reference/en/modules

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 15 12:08:59 EDT 2006


Author: kabir.khan at jboss.com
Date: 2006-08-15 12:08:58 -0400 (Tue, 15 Aug 2006)
New Revision: 55964

Modified:
   branches/Branch_AOP_1_5/aop/docs/reference/reference/en/modules/running.xml
Log:
[JBAOP-280] From JBoss AS 4.0.5.CR1, the ordering within an .ear is as listed in the application.xml

Modified: branches/Branch_AOP_1_5/aop/docs/reference/reference/en/modules/running.xml
===================================================================
--- branches/Branch_AOP_1_5/aop/docs/reference/reference/en/modules/running.xml	2006-08-15 16:08:21 UTC (rev 55963)
+++ branches/Branch_AOP_1_5/aop/docs/reference/reference/en/modules/running.xml	2006-08-15 16:08:58 UTC (rev 55964)
@@ -485,8 +485,35 @@
             binding configuration. That is you can have a .aop file in an .ear file, or a .aop
             file in a war file etc. The bindings specified in the
             <literal>META-INF/jboss-aop.xml</literal>
-            file contained in the .aop file will affect all the classes in the whole war!
+            file contained in the .aop file will affect all the classes in the whole war/ear/sar!
          </para>
+         <para>
+            To pick up a .aop file in an .ear file, it must be listed in the .ear/META-INF/application.xml 
+            as a java module, e.g.:
+         </para>
+         <programlisting>
+<![CDATA[
+<?xml version='1.0'  encoding='UTF-8'?>
+<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN'
+                             'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
+
+<application>
+    <display-name>AOP in JBoss example</display-name>
+    <module>
+        <java>@lib@</java>
+    </module>
+    <module>
+        <ejb>aopexampleejb.jar</ejb>
+    </module>
+    <module>
+        <web>
+           <web-uri>aopexample.war</web-uri> 
+          <context-root>/aopexample</context-root> 
+       </web>
+   </module>
+</application>
+]]>
+			</programlisting>         
       </sect2>
       <sect2>
          <title>JBoss 4.x and JDK 1.4</title>




More information about the jboss-cvs-commits mailing list