Reduce unnecessary use of aspectj as a build dependency

This commit is contained in:
Luke Taylor
2010-08-19 23:23:03 +01:00
parent c37ca1c2a9
commit 102bc2d6a0
4 changed files with 1 additions and 9 deletions

View File

@@ -1,15 +1,10 @@
package bigbank;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.util.Assert;
public class BankServiceImpl implements BankService {
private final BankDao bankDao;
// Not used unless you declare a <protect-pointcut>
@Pointcut("execution(* bigbank.BankServiceImpl.*(..))")
public void myPointcut() {}
public BankServiceImpl(BankDao bankDao) {
Assert.notNull(bankDao);
this.bankDao = bankDao;