mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-02 03:38:08 +08:00
update: 更新一下ChangeLog
This commit is contained in:
parent
80b58bedaa
commit
c1dcbbee33
@ -1,5 +1,13 @@
|
||||
# NB进化史
|
||||
|
||||
## 2.0-RC2 "?"
|
||||
|
||||
* 变更:
|
||||
* add: new NbApp()可以不传类名,从堆栈自动推断
|
||||
* add: starter-mongodb by @qingerg
|
||||
* add: starter-tomcat by @ben
|
||||
* add: starter-beetlsql by wendal
|
||||
|
||||
## 2.0-RC "属于"
|
||||
|
||||
首先,必须高亮一下[@qinerg](https://github.com/qinerg)提交的[starter-undertow](https://gitee.com/nutz/nutzboot/tree/dev/nutzboot-starter-undertow),嗷嗷嗷. Jetty与Undertow任意切换^_^
|
||||
|
@ -1,21 +0,0 @@
|
||||
package io.nutz.demo.dubbo.rpc;
|
||||
|
||||
import org.nutz.boot.NbApp;
|
||||
import org.nutz.ioc.loader.annotation.IocBean;
|
||||
import org.nutz.mvc.annotation.At;
|
||||
import org.nutz.mvc.annotation.Ok;
|
||||
|
||||
@IocBean
|
||||
public class MainLauncher {
|
||||
|
||||
@Ok("raw")
|
||||
@At("/time/now")
|
||||
public long now() {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
new NbApp(MainLauncher.class).run();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user