|
@@ -45,6 +45,20 @@ public class TaskApp {
|
|
|
*/
|
|
|
public static void main(String[] args) {
|
|
|
AppBootstrap.run(TaskApp.class, args);
|
|
|
+ test();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 测试方法
|
|
|
+ *
|
|
|
+ * @author WANGWEI
|
|
|
+ */
|
|
|
+ private static void test() {
|
|
|
+ for (int i = 0; i < 100; i++) {
|
|
|
+ // Object bean = SpringContextHolder.getBean("DemoBean");
|
|
|
+ // bean.doSomeThings();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@Bean(name = "multipartResolver")
|