Minor tweaking so the tutorial is a little more illustrative of the present namespace capabilities.

This commit is contained in:
Ben Alex
2008-04-01 17:15:31 +00:00
parent 21e83e8364
commit f7ae69880c
2 changed files with 53 additions and 1 deletions

View File

@@ -1,10 +1,15 @@
package bigbank;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.util.Assert;
public class BankServiceImpl implements BankService {
private 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;