Main.java:
@Ok("json")
@Fail("json:500")
@Encoding(input = "UTF-8", output = "UTF-8")
//@IocBy(type=ComboIocProvider.class, args={"*js", "ioc/",
// "*anno", "com.sctele.web.service.datatransfer",
// "*tx", // 事务拦截 aop
// "*async"}) // 异步执行aop
@IocBy(type = ComboIocProvider.class, args = { "*org.nutz.ioc.loader.json.JsonLoader",
"ioc",
"*org.nutz.ioc.loader.annotation.AnnotationIocLoader",
"com.sctele.web.service",
"com.sctele.web.module"})
@Modules(scanPackage = true, packages = {"com.sctele"})
@AdaptBy(type=JsonAdaptor.class)
@Filters(@By(type = TokenFilter.class))
@Views({DataViewMarker.class})
@SetupBy(SetupModule.class)
public class Main {
public static void main(String args[]) {
}
}