Fix package in AOP pointcut

See gh-18558
This commit is contained in:
Jafer Khan
2019-10-11 02:19:54 +05:00
committed by Stephane Nicoll
parent 53b0569dae
commit 56840f32fe

View File

@@ -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);
}