/* 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
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
RuoYi-Vue 全新 Pro 版本,优化重构所有功能。基于 Spring Boot + MyBatis Plus + Vue & Element 实现的后台管理系统 + 微信小程序,支持 RBAC 动态权限、数据权限、SaaS 多租户、Flowable 工作流、三方登录、支付、短信、商城、CRM、ERP、AI 等功能
资源推荐
资源详情
资源评论
收起资源包目录
RuoYi-Vue 全新 Pro 版本,优化重构所有功能 (2001个子文件)
.DS_Store 8KB
AbstractEngineConfiguration.java 79KB
BpmTaskServiceImpl.java 54KB
TradeOrderUpdateServiceImpl.java 44KB
BpmProcessInstanceServiceImpl.java 39KB
SimpleModelUtils.java 32KB
DataPermissionRuleHandlerTest.java 25KB
DmDatabase.java 25KB
ProductSpuServiceImplTest.java 23KB
BpmnModelUtils.java 21KB
AfterSaleServiceImpl.java 20KB
GlobalExceptionHandler.java 19KB
CombinationRecordServiceImpl.java 19KB
TradeOrderUpdateServiceTest.java 18KB
TradePointUsePriceCalculatorTest.java 18KB
BrokerageRecordServiceImpl.java 17KB
TradeOrderConvert.java 16KB
BrokerageUserServiceImpl.java 15KB
CrmCustomerController.java 15KB
ErrorCodeConstants.java 15KB
TradePriceCalculatorHelper.java 15KB
SeckillActivityServiceImpl.java 15KB
CouponServiceImpl.java 15KB
ErpPurchaseReturnServiceImpl.java 15KB
ErpSaleReturnServiceImpl.java 14KB
ErpPurchaseInServiceImpl.java 14KB
ErpPurchaseOrderServiceImpl.java 14KB
ErpSaleOutServiceImpl.java 14KB
CrmContractController.java 14KB
CombinationActivityConvert.java 14KB
TradeRewardActivityPriceCalculatorTest.java 13KB
ErpSaleOrderServiceImpl.java 13KB
PointActivityServiceImpl.java 13KB
CollectionUtils.java 13KB
BpmModelServiceImpl.java 13KB
ErpFinancePaymentServiceImpl.java 12KB
RewardActivityServiceImplTest.java 12KB
ErpFinanceReceiptServiceImpl.java 12KB
ErrorCodeConstants.java 12KB
RewardActivityServiceImpl.java 12KB
BpmTaskController.java 12KB
LogRecordConstants.java 12KB
ApiAccessLogFilter.java 12KB
ProductSpuServiceImpl.java 11KB
CrmBusinessController.java 11KB
DeptDataPermissionRuleTest.java 11KB
BpmTaskConvert.java 11KB
DiscountActivityServiceImplTest.java 11KB
ProductSkuServiceImpl.java 11KB
CrmContactController.java 11KB
TradeDeliveryPriceCalculator.java 11KB
LocalDateTimeUtils.java 11KB
YudaoWebSecurityConfigurerAdapter.java 11KB
DiscountActivityServiceImpl.java 11KB
CrmReceivablePlanController.java 10KB
CombinationActivityServiceImpl.java 10KB
InvocableHandlerMethod.java 10KB
ErpStockCheckServiceImpl.java 10KB
ErpStockMoveServiceImpl.java 10KB
TradeOrderQueryServiceImpl.java 10KB
AppTradeOrderController.java 10KB
ErpStockOutServiceImpl.java 10KB
CrmCustomerMapper.java 10KB
SeckillActivityConvert.java 10KB
ErpStockInServiceImpl.java 10KB
DeliveryExpressTemplateServiceImpl.java 10KB
CombinationActivityServiceImplTest.java 10KB
TradeDeliveryPriceCalculatorTest.java 10KB
ErrorCodeConstants.java 9KB
BpmProcessInstanceController.java 9KB
BpmProcessDefinitionServiceImpl.java 9KB
DeptDataPermissionRule.java 9KB
MPJLambdaWrapperX.java 9KB
ErpPurchaseReturnController.java 9KB
CrmReceivableController.java 9KB
ErrorCodeConstants.java 9KB
MpMaterialServiceImpl.java 9KB
ErpPurchaseOrderController.java 9KB
AppSeckillActivityController.java 9KB
TradePriceCalculateRespBO.java 9KB
ErpPurchaseInController.java 9KB
ErpSaleReturnController.java 9KB
TradeOrderDO.java 9KB
YudaoWebSocketAutoConfiguration.java 9KB
ProductCommentServiceImplTest.java 9KB
MpAutoReplyServiceImpl.java 9KB
ErpStockOutController.java 9KB
ErpSaleOrderController.java 9KB
ErpStockInController.java 9KB
ErpSaleOutController.java 9KB
ErpStockMoveController.java 8KB
BpmSimpleModelNodeVO.java 8KB
YudaoRedisMQConsumerAutoConfiguration.java 8KB
TradeCouponPriceCalculator.java 8KB
ProductSkuServiceTest.java 8KB
MpUserServiceImpl.java 8KB
MpAccountServiceImpl.java 8KB
ErpFinancePaymentController.java 8KB
ErpFinanceReceiptController.java 8KB
AppBargainRecordController.java 8KB
共 2001 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 7454
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于LSTM的淘宝商品评论分析系统详细文档+全部资料+优秀项目.zip
- 基于MKR模型的图书推荐系统 torch+flask+mysql——NLP详细文档+全部资料+优秀项目.zip
- 基于NLP的微博舆情分析系统详细文档+全部资料+优秀项目.zip
- 基于nlp的医疗问答系统详细文档+全部资料+优秀项目.zip
- 基于NLP和KNN的任务推荐系统详细文档+全部资料+优秀项目.zip
- 基于检索的问答系统详细文档+全部资料+优秀项目.zip
- 基于开放域事件提取的社会心态交互式挖掘与引导系统详细文档+全部资料+优秀项目.zip
- 基于篇章结构自动作文评分系统详细文档+全部资料+优秀项目.zip
- 基于实现一个舆情监控系统,具体基于对知乎热榜话题的数据抓取、分析与可视化。详细文档+全部资料+优秀项目.zip
- 基于文档的问答系统详细文档+全部资料+优秀项目.zip
- 基于医药知识图谱的智能问答系统详细文档+全部资料+优秀项目.zip
- 基于一个NLP旅游景点问答系统,基于BM25,Fuzzy算法实现详细文档+全部资料+优秀项目.zip
- 基于自然语言处理的智能医疗诊断系统详细文档+全部资料+优秀项目.zip
- 餐具包装纸袋包装机(sw12可编辑+CAD+说明书)全套技术开发资料100%好用.zip
- 岚精灵扫码挪车系统(移动端)(用户端-管理端)
- QWG(RZ)22-2004 高强度焊接结构用热连轧钢板和钢带.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功