@Test public void testSimpleConstructContainer() throws Exception { AnnotationConfigApplicationContext configApplicationContext = beanFactory.simpleConstructContainer(); configApplicationContext.register(ComponentAnnotationModel.class); configApplicationContext.refresh(); ComponentAnnotationModel model = configApplicationContext.getBean(ComponentAnnotationModel.class); System.out.println(PrintUtil.formatTestResult(model)); configApplicationContext.destroy(); }
public AnnotationConfigApplicationContext simpleConstructContainer() { return new AnnotationConfigApplicationContext(); }
AnnotationConfigApplicationContextBeanFactory { public AnnotationConfigApplicationContext simpleConstructContainer() { return new AnnotationConfigApplicationContext(); } }
AnnotationConfigApplicationContextBeanFactory { public AnnotationConfigApplicationContext simpleConstructContainer() { return new AnnotationConfigApplicationContext(); }  }
AnnotationConfigApplicationContextBeanFactory { public AnnotationConfigApplicationContext simpleConstructContainer() { return new AnnotationConfigApplicationContext(); }  AnnotationConfigApplicationContext simpleConstructContainer(); AnnotationConfigApplicationContext constructContainerWithConfigBean(Class<?>... classes); AnnotationConfigApplicationContext constructContainerWithBasePackage(String basePackage); }
AnnotationConfigApplicationContextBeanFactory { public AnnotationConfigApplicationContext simpleConstructContainer() { return new AnnotationConfigApplicationContext(); }  AnnotationConfigApplicationContext simpleConstructContainer(); AnnotationConfigApplicationContext constructContainerWithConfigBean(Class<?>... classes); AnnotationConfigApplicationContext constructContainerWithBasePackage(String basePackage);  }