From: Gustavo Martin Morcuende Date: Sun, 17 Apr 2016 11:35:09 +0000 (+0200) Subject: AOP: LTW and maven plguin, improvements X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=a6241394df1ed4db6674d69717078f14e3e831e5;p=JavaForFun AOP: LTW and maven plguin, improvements --- 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 @@ + +