All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nutz.web.maker.mainModule.tmpl Maven / Gradle / Ivy

Go to download

Nutz, which is a collections of lightweight frameworks, each of them can be used independently

There is a newer version: 1.r.67
Show newest version
package ${pkg};

import org.nutz.mvc.annotation.Fail;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.annotation.Views;
import org.nutz.mvc.ioc.provider.ComboIocProvider;
import org.nutz.web.ajax.AjaxViewMaker;
import org.nutz.web.error.ErrPageViewMaker;

@Modules(scanPackage = true)
@IocBy(type = ComboIocProvider.class,
// 采用复合加载器的参数
args = {"*org.nutz.ioc.loader.json.JsonLoader",
        "ioc",
        "*org.nutz.ioc.loader.annotation.AnnotationIocLoader",
        "${pkg}.module"})
@SetupBy(${pnm}Setup.class)
@Views(value = {AjaxViewMaker.class, ErrPageViewMaker.class})
@Fail("errpage")
public class ${pnm}MainModule {}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy