添加注释说明
This commit is contained in:
parent
861f25f90d
commit
ddf92dc84e
|
@ -17,6 +17,10 @@ public class Jdbc {
|
||||||
*/
|
*/
|
||||||
private static Prop p = PropKit.use("config.properties");
|
private static Prop p = PropKit.use("config.properties");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 配置Druid数据库连接池插件
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public static DruidPlugin createDruidPlugin() {
|
public static DruidPlugin createDruidPlugin() {
|
||||||
DruidPlugin druidPlugin = null;
|
DruidPlugin druidPlugin = null;
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -9,6 +9,10 @@ import com.jfinal.server.undertow.UndertowServer;
|
||||||
*/
|
*/
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主方法
|
||||||
|
* @param args
|
||||||
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
UndertowServer.start(AppConfig.class, 8099, true);
|
UndertowServer.start(AppConfig.class, 8099, true);
|
||||||
EventLog.info("启动成功");
|
EventLog.info("启动成功");
|
||||||
|
|
Loading…
Reference in New Issue