System.out.println("--->>userControllerTest<<--");
//1.创建一个标准的 Hasor 容器。
AppContext appContext = Hasor.createAppContext(new Module() {
public void loadModule(ApiBinder apiBinder) throws Throwable {
/*绑定一个接口的实现类*/
apiBinder.installModule(new ControllerModule());
}
});
//
RootController root = appContext.getInstance(RootController.class);
Map<String, String> data = new HashMap<String, String>();