Remove old data.
authorGustavo Martin Morcuende <gustavo@supergusarapo.(none)>
Thu, 27 Jun 2013 00:16:52 +0000 (02:16 +0200)
committerGustavo Martin Morcuende <gustavo@supergusarapo.(none)>
Thu, 27 Jun 2013 00:16:52 +0000 (02:16 +0200)
SpringJava/SpringLTW/spring-ltw-example/src/main/java/de/spring/example/MyAdvice.java
SpringJava/SpringLTW/spring-ltw-example/src/main/java/de/spring/example/web/Gus.java [deleted file]

index 4704d0b..bee04c1 100644 (file)
@@ -8,7 +8,7 @@ import org.aspectj.lang.annotation.Before;
 public class MyAdvice {
 
 
-    @Before("execution(* de.spring.example.web.Gus.prueba())")
+    @Before("@annotation(de.spring.example.annotation.initTransactional)")
     public void initTransactional()
     {
         System.out.println("I am the Advice initTransaction.");
diff --git a/SpringJava/SpringLTW/spring-ltw-example/src/main/java/de/spring/example/web/Gus.java b/SpringJava/SpringLTW/spring-ltw-example/src/main/java/de/spring/example/web/Gus.java
deleted file mode 100644 (file)
index 2d11f75..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package de.spring.example.web;
-
-import de.spring.example.annotation.initTransactional;
-
-public class Gus {
-
-    @initTransactional
-    public void prueba() {
-        System.out.println("GUSOOK");
-    }
-}