From a6241394df1ed4db6674d69717078f14e3e831e5 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sun, 17 Apr 2016 13:35:09 +0200 Subject: [PATCH] AOP: LTW and maven plguin, improvements --- .../src/main/java/de/spring/example/TransactionManager.java | 2 -- SpringJava/AOP/SpringLTW/src/main/resources/META-INF/aop.xml | 2 ++ SpringJava/AOP/SpringMavenWeaver/pom.xml | 5 ++++- .../src/main/java/de/spring/example/TransactionManager.java | 2 -- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/SpringJava/AOP/SpringLTW/src/main/java/de/spring/example/TransactionManager.java b/SpringJava/AOP/SpringLTW/src/main/java/de/spring/example/TransactionManager.java index 53f3c59..338c82a 100644 --- a/SpringJava/AOP/SpringLTW/src/main/java/de/spring/example/TransactionManager.java +++ b/SpringJava/AOP/SpringLTW/src/main/java/de/spring/example/TransactionManager.java @@ -1,12 +1,10 @@ package de.spring.example; -import org.aspectj.lang.annotation.Aspect; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.jdbc.datasource.DataSourceTransactionManager; import org.springframework.transaction.TransactionStatus; -@Aspect public class TransactionManager { private static final Logger LOGGER = LoggerFactory.getLogger(TransactionManager.class); private static TransactionManager instance = new TransactionManager(); diff --git a/SpringJava/AOP/SpringLTW/src/main/resources/META-INF/aop.xml b/SpringJava/AOP/SpringLTW/src/main/resources/META-INF/aop.xml index a5e58ae..186f621 100644 --- a/SpringJava/AOP/SpringLTW/src/main/resources/META-INF/aop.xml +++ b/SpringJava/AOP/SpringLTW/src/main/resources/META-INF/aop.xml @@ -1,6 +1,8 @@ + +