]> source.dussan.org Git - aspectj.git/commitdiff
124460: simple basic control of weaving via aop.xml
authoraclement <aclement>
Tue, 10 Feb 2009 00:43:58 +0000 (00:43 +0000)
committeraclement <aclement>
Tue, 10 Feb 2009 00:43:58 +0000 (00:43 +0000)
tests/features164/aopconfig/two/A.java [new file with mode: 0644]
tests/features164/aopconfig/two/B.java [new file with mode: 0644]
tests/features164/aopconfig/two/foo.xml [new file with mode: 0644]

diff --git a/tests/features164/aopconfig/two/A.java b/tests/features164/aopconfig/two/A.java
new file mode 100644 (file)
index 0000000..57dba05
--- /dev/null
@@ -0,0 +1,3 @@
+aspect A {
+  before():staticinitialization(*) {}
+}
diff --git a/tests/features164/aopconfig/two/B.java b/tests/features164/aopconfig/two/B.java
new file mode 100644 (file)
index 0000000..66dd24c
--- /dev/null
@@ -0,0 +1,2 @@
+public class B {
+}
diff --git a/tests/features164/aopconfig/two/foo.xml b/tests/features164/aopconfig/two/foo.xml
new file mode 100644 (file)
index 0000000..5526fcf
--- /dev/null
@@ -0,0 +1,6 @@
+<aspectj>
+<aspects>
+  <aspect name="A" scope="("/>
+  <!-- <aspect name="A2"/> -->
+</aspects>
+</aspectj>