spring-mvc-template
v1.0.5
Published
1. zhice teamson company development this module and all right reserved! 2. attention ! just suport the spring-ioc framework.
Downloads
2
Readme
spring-extends-template
intruoduce
- zhice teamson company development this module and all right reserved!
- attention ! just suport the spring-ioc framework.
install
npm instlal spring-extends-template
usage
1.set the configuration file
file path: ${Project}/resource/TemplateBean.json
basic config:
{
"msg":"hello world"
}
2. load email module at launch.
const {SpringBoot} = require("spring-ioc")
const {TemplateBeanScaner} = require("spring-extends-template")
new SpringBoot({
srcList:["./app"],
moduleList:[TemplateBeanScaner]
}).run();
3. call in the spring container!
//@SpringBoot
class Application {
//just copy the code of next line is done!
//@Autowired
templateBean;
async main(){
this.templateBean.say();
}
}