|
@@ -68,10 +68,8 @@ public class CoreBasicApp {
|
|
* @author WANGWEI
|
|
* @author WANGWEI
|
|
*/
|
|
*/
|
|
private static void test() {
|
|
private static void test() {
|
|
- for (int i = 0; i < 100; i++) {
|
|
|
|
- // Object bean = SpringContextHolder.getBean("DemoBean");
|
|
|
|
- // bean.doSomeThings();
|
|
|
|
- }
|
|
|
|
|
|
+ Tester tester = SpringContextHolder.getBean(Tester.class);
|
|
|
|
+ tester.test();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|