From 784b15ea25affeba47db692f3374be7390ed2347 Mon Sep 17 00:00:00 2001 From: Izzel_Aliz Date: Mon, 7 May 2018 17:57:22 +0800 Subject: [PATCH] Initial pool --- .gitignore | 21 +- .idea/inspectionProfiles/Project_Default.xml | 1 + .../Maven__com_h2database_h2_1_4_197.xml | 13 + .../Maven__javax_servlet_servlet_api_2_5.xml | 13 + ...dehaus_jackson_jackson_core_asl_1_9_13.xml | 13 + ...haus_jackson_jackson_mapper_asl_1_9_13.xml | 13 + .../Maven__org_javalite_activejdbc_2_0.xml | 13 + .../Maven__org_javalite_app_config_2_0.xml | 13 + ...aven__org_javalite_javalite_common_2_0.xml | 13 + pom.xml | 16 + src/main/java/com/ilummc/tlib/TLib.java | 22 +- .../com/ilummc/tlib/config/TLibConfig.java | 31 +- src/main/java/com/ilummc/tlib/db/Pool.java | 61 +++ .../com/ilummc/tlib/db/TLibDataSource.java | 35 ++ .../ilummc/tlib/inject/TConfigInjector.java | 20 +- .../tlib/inject/TDependencyInjector.java | 6 + .../skymc/taboolib/fileutils/ConfigUtils.java | 13 +- .../org/javalite/activejdbc/MetaModel.java | 509 ++++++++++++++++++ src/main/resources/lang/zh_CN.yml | 3 + 19 files changed, 809 insertions(+), 20 deletions(-) create mode 100644 .idea/libraries/Maven__com_h2database_h2_1_4_197.xml create mode 100644 .idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_9_13.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_13.xml create mode 100644 .idea/libraries/Maven__org_javalite_activejdbc_2_0.xml create mode 100644 .idea/libraries/Maven__org_javalite_app_config_2_0.xml create mode 100644 .idea/libraries/Maven__org_javalite_javalite_common_2_0.xml create mode 100644 src/main/java/com/ilummc/tlib/db/Pool.java create mode 100644 src/main/java/com/ilummc/tlib/db/TLibDataSource.java create mode 100644 src/main/java/org/javalite/activejdbc/MetaModel.java diff --git a/.gitignore b/.gitignore index d587938..0378fc2 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,20 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* .gradle/4.3.1/ -.idea/TabooLib.iml -.idea/misc.xml -.idea/modules.xml -.idea/workspace.xml +.idea +target/TabooLib-3.832-shaded.jar +target/TabooLib-3.832.jar +target/classes/JavaShells/ +target/classes/Language/ +target/classes/Language2/ +target/classes/TLM/ +target/classes/config.yml +target/classes/internalLang.yml +target/classes/items.yml +target/classes/lang/ +target/classes/module.yml +target/classes/plugin.yml +target/generated-sources/ +target/maven-archiver/ +target/maven-status/ +target/original-TabooLib-3.832.jar diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 49d45ba..efe48e4 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -10,6 +10,7 @@ +