Spring Boot - Aspect-Oriented Programming
Given this aspect code snippet:
What will be printed when
@Aspect
@Component
public class LogAspect {
@Before("execution(* com.example.service.*.*(..))")
public void logBefore() {
System.out.println("Before method call");
}
}What will be printed when
someService.someMethod() is called?