Spring Boot - Aspect-Oriented Programming
Given this Spring Boot aspect code snippet:
What will happen when a method in
@Aspect
public class LoggingAspect {
@Before("execution(* com.example.service.*.*(..))")
public void logBefore() {
System.out.println("Method called");
}
}What will happen when a method in
com.example.service package is called?