Skip to content

Commit

Permalink
v2.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfuhai committed Dec 28, 2018
1 parent 1993026 commit db4c582
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ jboot v2.0-rc.2:
移除 jboot.app.hotSwapClassPrefix 的配置,直接使用 undertow.hotSwapClassPrefix 配置即可
修复 代码生成器生成的代码带有 @Singleton 注解的问题
优化 @RPCInject 中的 async 和 check 的类型
优化 ClassScanner 会扫描到 JRE 的 Class 导致加载速度慢的问题



Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/jboot/JbootConsts.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
public class JbootConsts {

public static String VERSION = "2.0-alpha.1";
public static String VERSION = "2.0-rc.2";


public static final String ATTR_REQUEST = "REQUEST";
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/io/jboot/app/JbootApplicationConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
*/
package io.jboot.app;

import io.jboot.JbootConsts;
import io.jboot.app.config.annotation.ConfigModel;

@ConfigModel(prefix = "jboot.app")
public class JbootApplicationConfig {

private String mode = "dev";
private String version = JbootConsts.VERSION;
private boolean bannerEnable = true;
private String bannerFile = "banner.txt";
private String jfinalConfig = "io.jboot.core.JbootCoreConfig";
Expand All @@ -34,6 +36,10 @@ public void setMode(String mode) {
this.mode = mode;
}

public String getVersion() {
return version;
}

public boolean isBannerEnable() {
return bannerEnable;
}
Expand Down Expand Up @@ -64,6 +70,7 @@ public void setJfinalConfig(String jfinalConfig) {
public String toString() {
return "JbootApplication {" +
" mode='" + mode + '\'' +
", version='" + version + '\'' +
", jfinalConfig='" + jfinalConfig + '\'' +
" }";
}
Expand Down

0 comments on commit db4c582

Please sign in to comment.