内容摘要
一、加载路径中的通配符:
- ?(匹配单个字符)
- *(配除/外任意字符)
- **/(匹配任意多个目录)
二、Spring AOP配置通配符
execution(public * *(..))
within(com.xyz.service.*)
@annotation(org.springframework.transaction.annotation.Transactional)
execution(public * *(..))
within(com.xyz.service.*)
@annotation(org.springframework.transaction.annotation.Transactional)