package dev.gayerie;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
@EnableAspectJAutoProxy
@Configuration
@ComponentScan
public class Application {
public static void main(String[] args) throws InterruptedException {
try (AnnotationConfigApplicationContext appCtx =
new AnnotationConfigApplicationContext(Application.class)) {
// ...
}
}
}