Merge pull request #18558 from jaferkhan
* pr/18558: Fix package in AOP pointcut Closes gh-18558
This commit is contained in:
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
||||
@Component
|
||||
public class ServiceMonitor {
|
||||
|
||||
@AfterReturning("execution(* sample..*Service.*(..))")
|
||||
@AfterReturning("execution(* smoketest..*Service.*(..))")
|
||||
public void logServiceAccess(JoinPoint joinPoint) {
|
||||
System.out.println("Completed: " + joinPoint);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user