spring-core
spring-beans
spring-aop
spring-context
GenericApplicationContext genericApplicationContext=new GenericApplicationContext();
genericApplicationContext.registerBean(HelloServiceImpl.class);
genericApplicationContext.refresh();
HelloService bean = genericApplicationContext.getBean(HelloService.class);
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
context.scan("org.springframework.context.annotation6");
context.refresh();
Map<String, Object> beans = context.getBeansWithAnnotation(Configuration.class);