pointcut definition

1. Bean definition format (understand)

@Around("bean(userService)")

@Around("bean(userService)||bean(addressService)")

2. The format of the class definition pointcut (understand)

@Around("within(cn.tedu.store.service.UserService)")

@Around("within(cn.tedu.store.service.*Service)")

3. Method Definition (Mastery)

@Around("execution(* cn.tedu.store..*Service.*(..))")

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324957611&siteId=291194637