/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.common.engine.impl;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.ServiceLoader;
import java.util.Set;
import javax.naming.InitialContext;
import javax.sql.DataSource;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.builder.xml.XMLConfigBuilder;
import org.apache.ibatis.builder.xml.XMLMapperBuilder;
import org.apache.ibatis.datasource.pooled.PooledDataSource;
import org.apache.ibatis.mapping.Environment;
import org.apache.ibatis.plugin.Interceptor;
import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.defaults.DefaultSqlSessionFactory;
import org.apache.ibatis.transaction.TransactionFactory;
import org.apache.ibatis.transaction.jdbc.JdbcTransactionFactory;
import org.apache.ibatis.transaction.managed.ManagedTransactionFactory;
import org.apache.ibatis.type.ArrayTypeHandler;
import org.apache.ibatis.type.BigDecimalTypeHandler;
import org.apache.ibatis.type.BlobInputStreamTypeHandler;
import org.apache.ibatis.type.BlobTypeHandler;
import org.apache.ibatis.type.BooleanTypeHandler;
import org.apache.ibatis.type.ByteTypeHandler;
import org.apache.ibatis.type.ClobTypeHandler;
import org.apache.ibatis.type.DateOnlyTypeHandler;
import org.apache.ibatis.type.DateTypeHandler;
import org.apache.ibatis.type.DoubleTypeHandler;
import org.apache.ibatis.type.FloatTypeHandler;
import org.apache.ibatis.type.IntegerTypeHandler;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.LongTypeHandler;
import org.apache.ibatis.type.NClobTypeHandler;
import org.apache.ibatis.type.NStringTypeHandler;
import org.apache.ibatis.type.ShortTypeHandler;
import org.apache.ibatis.type.SqlxmlTypeHandler;
import org.apache.ibatis.type.StringTypeHandler;
import org.apache.ibatis.type.TimeOnlyTypeHandler;
import org.apache.ibatis.type.TypeHandlerRegistry;
import org.flowable.common.engine.api.FlowableException;
import org.flowable.common.engine.api.delegate.event.FlowableEngineEventType;
import org.flowable.common.engine.api.delegate.event.FlowableEventDispatcher;
import org.flowable.common.engine.api.delegate.event.FlowableEventListener;
import org.flowable.common.engine.api.engine.EngineLifecycleListener;
import org.flowable.common.engine.impl.agenda.AgendaOperationRunner;
import org.flowable.common.engine.impl.cfg.CommandExecutorImpl;
import org.flowable.common.engine.impl.cfg.IdGenerator;
import org.flowable.common.engine.impl.cfg.TransactionContextFactory;
import org.flowable.common.engine.impl.cfg.standalone.StandaloneMybatisTransactionContextFactory;
import org.flowable.common.engine.impl.db.CommonDbSchemaManager;
import org.flowable.common.engine.impl.db.DbSqlSessionFactory;
import org.flowable.common.engine.impl.db.LogSqlExecutionTimePlugin;
import org.flowable.common.engine.impl.db.MybatisTypeAliasConfigurator;
import org.flowable.common.engine.impl.db.MybatisTypeHandlerConfigurator;
import org.flowable.common.engine.impl.db.SchemaManager;
import org.flowable.common.engine.impl.event.EventDispatchAction;
import org.flowable.common.engine.impl.event.FlowableEventDispatcherImpl;
import org.flowable.common.engine.impl.interceptor.Command;
import org.flowable.common.engine.impl.interceptor.CommandConfig;
import org.flowable.common.engine.impl.interceptor.CommandContextFactory;
import org.flowable.common.engine.impl.interceptor.CommandContextInterceptor;
import org.flowable.common.engine.impl.interceptor.CommandExecutor;
import org.flowable.common.engine.impl.interceptor.CommandInterceptor;
import org.flowable.common.engine.impl.interceptor.CrDbRetryInterceptor;
import org.flowable.common.engine.impl.interceptor.DefaultCommandInvoker;
import org.flowable.common.engine.impl.interceptor.LogInterceptor;
import org.flowable.common.engine.impl.interceptor.SessionFactory;
import org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor;
import org.flowable.common.engine.impl.lock.LockManager;
import org.flowable.common.engine.impl.lock.LockManagerImpl;
import org.flowable.common.engine.impl.logging.LoggingListener;
import org.flowable.common.engine.impl.logging.LoggingSession;
import org.flowable.common.engine.impl.logging.LoggingSessionFactory;
import org.flowable.common.engine.impl.persistence.GenericManagerFactory;
import org.flowable.common.engine.impl.persistence.StrongUuidGenerator;
import org.flowable.common.engine.impl.persistence.cache.EntityCache;
import org.flowable.common.engine.impl.persistence.cache.EntityCacheImpl;
import org.flowable.common.engine.impl.persistence.entity.ByteArrayEntityManager;
import org.flowable.common.engine.impl.persistence.entity.ByteArrayEntityManagerImpl;
import org.flowable.common.engine.impl.persistence.entity.Entity;
import org.flowable.common.engine.impl.persistence.entity.PropertyEntityManager;
import org.flowable.common.engine.impl.persistence.entity.PropertyEntityManagerImpl;
import org.flowable.common.engine.impl.persistence.entity.TableDataManager;
import org.flowable.common.engine.impl.persistence.entity.TableDataManagerImpl;
import org.flowable.common.engine.impl.persistence.entity.data.ByteArrayDataManager;
import org.flowable.common.engine.impl.persistence.entity.data.PropertyDataManager;
import org.flowable.common.engine.impl.persistence.entity.data.impl.MybatisByteArrayDataManager;
import org.flowable.common.engine.impl.persistence.entity.data.impl.MybatisPropertyDataManager;
import org.flowable.common.engine.impl.runtime.Clock;
import org.flowable.common.engine.impl.service.CommonEngineServiceImpl;
import org.flowable.common.engine.impl.util.DefaultClockImpl;
import org.flowable.common.engine.impl.util.IoUtil;
import org.flowable.common.engine.impl.util.ReflectUtil;
import org.flowable.eventregistry.api.EventRegistryEventConsumer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
public abstract class AbstractEngineConfiguration {
protected final Logger logger = LoggerFactory.getLogger(getClass());
/** The tenant id indicating 'no tenant' */
public static final String NO_TENANT_ID = "";
/**
* Checks the version of the DB schema against the library when the form engine is being created and throws an exception if the versions don't match.
*/
public static final String DB_SCHEMA_UPDATE_FALSE = "false";
public static final String DB_SCHEMA_UPDATE_CREATE = "create";
public static final String DB_SCHEMA_UPDATE_CREATE_DROP = "create-drop";
/**
* Creates the schema when the form engine is being created and drops the schema when the form engine is being closed.
*/
public static final String DB_SCHEMA_UPDATE_DROP_CREATE = "drop-create";
/**
* Upon building of the process engine, a check is performed and an update of the schema is performed if it is necessary.
*/
public static final String DB_SCHEMA
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本项目是基于芋道源码深度定制的鲁oi-vue-pro设计源码,包含3660个文件,涵盖3033个Java源文件、84个XML配置文件、66个JPG图片文件、57个PNG图片文件、43个HTTP资源文件、40个VM模板文件、39个Markdown文件、30个SQL脚本文件、15个JSON和YAML配置文件。该项目新增了一系列自定义业务功能,以丰富原有功能,适用于各种业务场景。源码托管于Gitee平台,具体地址为:https://gitee.com/zhijiantianya/ruoyi-vue-pro
资源推荐
资源详情
资源评论
收起资源包目录
基于芋道源码的鲁oi-vue-pro定制设计源码 (2000个子文件)
AbstractEngineConfiguration.java 79KB
TradeOrderUpdateServiceImpl.java 40KB
BpmTaskServiceImpl.java 38KB
CrmCustomerServiceImpl.java 30KB
DmDatabase.java 25KB
DataPermissionDatabaseInterceptorTest2.java 25KB
DataPermissionDatabaseInterceptor.java 24KB
ProductSpuServiceImplTest.java 23KB
CombinationRecordServiceImpl.java 20KB
CrmStatisticsCustomerServiceImpl.java 20KB
AfterSaleServiceImpl.java 19KB
CrmContractServiceImpl.java 18KB
CrmBusinessServiceImpl.java 18KB
TradePointUsePriceCalculatorTest.java 18KB
BrokerageRecordServiceImpl.java 17KB
GlobalExceptionHandler.java 16KB
TradeOrderConvert.java 16KB
TradeOrderUpdateServiceTest.java 16KB
BpmProcessInstanceServiceImpl.java 15KB
SeckillActivityServiceImpl.java 15KB
CrmPermissionServiceImpl.java 15KB
CrmCustomerController.java 15KB
ErrorCodeConstants.java 15KB
BrokerageUserServiceImpl.java 15KB
TradePriceCalculatorHelper.java 15KB
ErpPurchaseReturnServiceImpl.java 15KB
BpmnModelUtils.java 14KB
ErpSaleReturnServiceImpl.java 14KB
CrmReceivableServiceImpl.java 14KB
ErpPurchaseInServiceImpl.java 14KB
ErpPurchaseOrderServiceImpl.java 14KB
ErpSaleOutServiceImpl.java 14KB
CrmContractController.java 14KB
ErpSaleOrderServiceImpl.java 13KB
CrmContactServiceImpl.java 13KB
CombinationActivityConvert.java 13KB
TradeRewardActivityPriceCalculatorTest.java 13KB
CollectionUtils.java 13KB
CouponServiceImpl.java 13KB
ErpFinancePaymentServiceImpl.java 12KB
ErpFinanceReceiptServiceImpl.java 12KB
LogRecordConstants.java 12KB
ApiAccessLogFilter.java 12KB
ProductSpuServiceImpl.java 11KB
CrmBusinessController.java 11KB
DeptDataPermissionRuleTest.java 11KB
BpmTaskController.java 11KB
CombinationActivityServiceImpl.java 11KB
DiscountActivityServiceImplTest.java 11KB
ProductSkuServiceImpl.java 11KB
CrmContactController.java 11KB
LocalDateTimeUtils.java 11KB
ErrorCodeConstants.java 11KB
CrmClueServiceImpl.java 11KB
BpmModelServiceImpl.java 11KB
YudaoWebSecurityConfigurerAdapter.java 11KB
RewardActivityServiceImplTest.java 11KB
CrmReceivablePlanController.java 10KB
TradeDeliveryPriceCalculator.java 10KB
InvocableHandlerMethod.java 10KB
ErpStockCheckServiceImpl.java 10KB
BpmTaskConvert.java 10KB
ErpStockMoveServiceImpl.java 10KB
CrmCustomerMapper.java 10KB
TradeOrderQueryServiceImpl.java 10KB
DiscountActivityServiceImpl.java 10KB
ErpStockOutServiceImpl.java 10KB
ErpStockInServiceImpl.java 10KB
DeliveryExpressTemplateServiceImpl.java 10KB
CombinationActivityServiceImplTest.java 10KB
TradeDeliveryPriceCalculatorTest.java 9KB
MPJLambdaWrapperX.java 9KB
ErpPurchaseReturnController.java 9KB
CrmReceivableController.java 9KB
DeptDataPermissionRule.java 9KB
ErrorCodeConstants.java 9KB
MpMaterialServiceImpl.java 9KB
ErpPurchaseOrderController.java 9KB
BpmProcessInstanceController.java 9KB
ErpPurchaseInController.java 9KB
ErpSaleReturnController.java 9KB
ErrorCodeConstants.java 9KB
AppActivityController.java 9KB
ProductCommentServiceImplTest.java 9KB
BargainActivityServiceImpl.java 9KB
MpAutoReplyServiceImpl.java 9KB
ErpStockOutController.java 9KB
ErpSaleOrderController.java 9KB
BpmProcessDefinitionServiceImpl.java 9KB
AppTradeOrderController.java 9KB
CrmReceivablePlanServiceImpl.java 9KB
CrmStatisticsPerformanceServiceImpl.java 9KB
ErpStockInController.java 9KB
ErpSaleOutController.java 9KB
YudaoWebSocketAutoConfiguration.java 8KB
ErpStockMoveController.java 8KB
YudaoRedisMQConsumerAutoConfiguration.java 8KB
ProductSkuServiceTest.java 8KB
MpUserServiceImpl.java 8KB
MpAccountServiceImpl.java 8KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
lsx202406
- 粉丝: 2809
- 资源: 5668
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- VmwareHardenedLoader.zip
- Labview通过FINS tcp协议与欧姆龙PLC通讯,支持CIO区,W区,D区,布尔量,整数,浮点数,字符串读写操作,软件无加密
- 英特尔2021-2024年网络连接性和IPU路线图
- Intouch2020R2SP1与西门子1500PLC通讯配置手册
- 电池组散热分析 ansys 流体 fluent
- 陀螺仪选型陀螺仪陀螺仪选型型陀螺仪选型
- 快速排序算法Python实现:详解分治法原理与高效排序步骤
- STM32F401,使用ST-link时候,不能识别,显示ST-LINK USB communication error
- Avue.js是基于现有的element-plus库进行的二次封装,简化一些繁琐的操作,核心理念为数据驱动视图,主要的组件库针对table表格和form表单场景,同时衍生出更多企业常用的组件,达到高复
- COMSOL 准 BIC控制石墨烯临界耦合光吸收 COMSOL 光学仿真,石墨烯,光吸收,费米能级可调下图是仿真文件截图,所见即所得
- Intel-633246-eASIC-PB-006-N5X-Product-Brief .pdf
- 家庭用具检测21-YOLO(v5至v11)、COCO、Paligemma、TFRecord、VOC数据集合集.rar
- 51单片机仿真摇号抽奖机源程序12864液晶显示仿真+程序
- Pear Admin 是 一 款 开 箱 即 用 的 前 端 开 发 模 板,提供便捷快速的开发方式,延续 Admin 的设计规范
- ECSHOP模板堂最新2017仿E宠物模板 整合ECTouch微分销商城
- 完结26章Java主流分布式解决方案多场景设计与实战
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功