@Modules(scanPackage = true)
//@IocBy(type = JsonIocProvider.class, args = "config")
@IocBy(type = ComboIocProvider.class,
args = {"*json",
"config",
"*annotation",
"org.markers"
})
@Filters(@By(type = CheckSession.class, args = {"user", "/login"}))
public class MainModule {
}
@IocBean
public class CheckSession implements ActionFilter {
@Inject("userService")
private UserService userService;
}
@IocBean
public class UserService {
@Inject("dao")
private NutDao dao;
}
发现那个UserService并没有注入,怎么破