Package com.flowable.form.engine
Class FormEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
com.flowable.form.engine.FormEngineConfiguration
- All Implemented Interfaces:
CoreFormEngineConfigurationApi
,HasExpressionManagerEngineConfiguration
,FormEngineConfigurationApi
- Direct Known Subclasses:
SpringFormEngineConfiguration
,StandaloneFormEngineConfiguration
public class FormEngineConfiguration
extends AbstractEngineConfiguration
implements CoreFormEngineConfigurationApi, HasExpressionManagerEngineConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected CachingAndArtifactsManager
protected ChangeTenantIdManager
protected Collection<SubmittedVariableValidator>
static final String
protected FormDeploymentDataManager
protected FormDeploymentEntityManager
protected DeploymentManager
protected ExpressionManager
protected Collection<Consumer<ExpressionManager>>
static final String
protected FormDataModelVariablesExtractor
protected DeploymentCache<FormDefinitionCacheEntry>
protected int
protected FormDefinitionDataManager
protected FormDefinitionEntityManager
protected FormDefinitionDeployer
protected FormDefinitionDeploymentHelper
protected String
protected Collection<SubmittedVariableValidator>
protected FormInstanceDataManager
protected FormInstanceEntityManager
protected FormManagementService
protected FormDefinitionParseFactory
protected FormRepositoryService
protected FormModelResourceConverter
protected CoreFormService
static final String
protected ParsedDeploymentBuilderFactory
protected Collection<ELResolver>
protected Collection<ELResolver>
protected Collection<ELResolver>
protected FormResourceDataManager
protected FormResourceEntityManager
protected SubmittedVariablesExtractor
Fields inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
additionalEventDispatchActions, agendaOperationExecutionListeners, agendaOperationRunner, allConfigurators, alwaysLookupLatestDefinitionVersion, beans, byteArrayDataManager, byteArrayEntityManager, classLoader, clock, commandContextFactory, commandExecutor, commandInterceptors, commandInvoker, commonSchemaManager, configurators, customMybatisInterceptors, customMybatisMappers, customMybatisXMLMappers, customPostCommandInterceptors, customPreCommandInterceptors, customSessionFactories, DATABASE_TYPE_COCKROACHDB, DATABASE_TYPE_DB2, DATABASE_TYPE_H2, DATABASE_TYPE_HSQL, DATABASE_TYPE_MSSQL, DATABASE_TYPE_MYSQL, DATABASE_TYPE_ORACLE, DATABASE_TYPE_POSTGRES, databaseCatalog, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, databaseTypeMappings, databaseWildcardEscapeCharacter, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_DROP_CREATE, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, dbSqlSessionFactory, DEFAULT_GENERIC_MAX_LENGTH_STRING, DEFAULT_MAX_NR_OF_STATEMENTS_BULK_INSERT_SQL_SERVER, DEFAULT_ORACLE_MAX_LENGTH_STRING, defaultCommandConfig, defaultCommandInterceptors, defaultTenantProvider, dependentEngineMybatisTypeAliasConfigs, dependentEngineMybatisTypeHandlerConfigs, dependentEngineMyBatisXmlMappers, enableConfiguratorServiceLoader, enableEventDispatcher, enableLogSqlExecutionTime, engineConfigurations, engineLifecycleListeners, eventDispatcher, eventListeners, eventRegistryConfigurator, eventRegistryEventConsumers, fallbackToDefaultTenant, forceCloseMybatisConnectionPool, idGenerator, idmEngineConfigurator, isBulkInsertEnabled, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, lockPollRate, logger, loggingListener, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, mybatisMappingFile, NO_TENANT_ID, objectMapper, PRODUCT_NAME_CRDB, PRODUCT_NAME_POSTGRES, propertyDataManager, propertyEntityManager, schemaCommandConfig, schemaLockWaitTime, schemaManagementCmd, schemaManager, serviceConfigurations, sessionFactories, sqlSessionFactory, tableDataManager, tablePrefixIsSchema, transactionContextFactory, transactionFactory, transactionsExternallyManaged, typedEventListeners, useClassForNameClassLoading, useLockForDatabaseSchemaUpdate, usePrefixId, usingRelationalDatabase, usingSchemaMgmt, xmlEncoding
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddCustomFormFieldValidators
(Collection<SubmittedVariableValidator> customFormFieldValidators) addExpressionManagerConfigurer
(Consumer<ExpressionManager> configurer) addPostDefaultELResolver
(ELResolver elResolver) addPreBeanELResolver
(ELResolver elResolver) addPreDefaultELResolver
(ELResolver elResolver) static FormEngineConfiguration
createFormEngineConfigurationFromInputStream
(InputStream inputStream) static FormEngineConfiguration
createFormEngineConfigurationFromInputStream
(InputStream inputStream, String beanName) static FormEngineConfiguration
static FormEngineConfiguration
createFormEngineConfigurationFromResource
(String resource, String beanName) static FormEngineConfiguration
static FormEngineConfiguration
static FormEngineConfiguration
Collection<? extends Deployer>
int
protected void
init()
void
void
void
void
protected void
protected void
void
void
void
protected void
void
void
protected void
void
setChangeTenantIdManager
(ChangeTenantIdManager changeTenantIdManager) setDeploymentDataManager
(FormDeploymentDataManager deploymentDataManager) setDeploymentEntityManager
(FormDeploymentEntityManager deploymentEntityManager) setEngineName
(String formEngineName) setExpressionManager
(ExpressionManager expressionManager) void
setFormDataModelVariablesExtractor
(FormDataModelVariablesExtractor formDataModelVariablesExtractor) setFormDefinitionCache
(DeploymentCache<FormDefinitionCacheEntry> formDefinitionCache) setFormDefinitionCacheLimit
(int formDefinitionCacheLimit) setFormDefinitionDataManager
(FormDefinitionDataManager formDefinitionDataManager) setFormDefinitionEntityManager
(FormDefinitionEntityManager formDefinitionEntityManager) setFormDeployer
(FormDefinitionDeployer formDeployer) setFormInstanceDataManager
(FormInstanceDataManager formInstanceDataManager) setFormInstanceEntityManager
(FormInstanceEntityManager formInstanceEntityManager) setFormManagementService
(FormManagementService formManagementService) setFormParseFactory
(FormDefinitionParseFactory formParseFactory) setFormRepositoryService
(FormRepositoryService formRepositoryService) setFormResourceConverter
(FormModelResourceConverter formResourceConverter) setFormService
(CoreFormService formService) setObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) setPostDefaultELResolvers
(Collection<ELResolver> postDefaultELResolvers) setPreBeanELResolvers
(Collection<ELResolver> preBeanELResolvers) setPreDefaultELResolvers
(Collection<ELResolver> preDefaultELResolvers) setResourceDataManager
(FormResourceDataManager resourceDataManager) setResourceEntityManager
(FormResourceEntityManager resourceEntityManager) void
setSubmittedVariablesExtractor
(SubmittedVariablesExtractor submittedVariablesExtractor) setTableDataManager
(TableDataManager tableDataManager) Methods inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
addAgendaOperationExecutionListener, addConfigurator, addCustomPostCommandInterceptor, addCustomPreCommandInterceptor, addCustomSessionFactory, addEngineConfiguration, addEngineLifecycleListener, addEventRegistryEventConsumer, addServiceConfiguration, addSessionFactory, applyCustomMybatisCustomizations, close, configuratorsAfterInit, configuratorsBeforeInit, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, getAgendaOperationExecutionListeners, getAgendaOperationRunner, getAllConfigurators, getBeans, getByteArrayDataManager, getByteArrayEntityManager, getClassLoader, getClock, getCommandContextFactory, getCommandExecutor, getCommandInterceptors, getCommandInvoker, getCommonSchemaManager, getConfigurators, getCustomMybatisInterceptors, getCustomMybatisMappers, getCustomMybatisXMLMappers, getCustomPostCommandInterceptors, getCustomPostDeployers, getCustomPreCommandInterceptors, getCustomPreDeployers, getCustomSessionFactories, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDatabaseWildcardEscapeCharacter, getDataSource, getDataSourceJndiName, getDbSqlSessionFactory, getDefaultCommandConfig, getDefaultCommandInterceptors, getDefaultDatabaseTypeMappings, getDefaultTenantProvider, getDependentEngineMybatisTypeAliasConfigs, getDependentEngineMybatisTypeHandlerConfigs, getDependentEngineMyBatisXmlMappers, getDeployers, getEngineConfigurations, getEngineLifecycleListeners, getEngineSpecificEngineConfigurators, getEventDispatcher, getEventListeners, getEventRegistryConfigurator, getEventRegistryEventConsumers, getIdGenerator, getIdmEngineConfigurator, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getLockManager, getLockPollRate, getLoggingListener, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getMybatisMappingFile, getObjectMapper, getPropertyDataManager, getPropertyEntityManager, getResourceAsStream, getSchemaCommandConfig, getSchemaLockWaitTime, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTableDataManager, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initAdditionalEventDispatchActions, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandInterceptors, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDefaultCommandConfig, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initObjectMapper, initSchemaCommandConfig, initService, initSqlSessionFactory, initTransactionContextFactory, initTransactionFactory, initTypedEventListeners, isAlwaysLookupLatestDefinitionVersion, isBulkInsertEnabled, isDbHistoryUsed, isEnableConfiguratorServiceLoader, isEnableEventDispatcher, isEnableLogSqlExecutionTime, isFallbackToDefaultTenant, isForceCloseMybatisConnectionPool, isJdbcPingEnabled, isLoggingSessionEnabled, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, isUseLockForDatabaseSchemaUpdate, isUsePrefixId, isUsingRelationalDatabase, isUsingSchemaMgmt, parseCustomMybatisXMLMappers, parseDependentEngineMybatisXMLMappers, parseMybatisConfiguration, parseMybatisXmlMapping, pathToEngineDbProperties, setAdditionalEventDispatchActions, setAgendaOperationExecutionListeners, setAgendaOperationRunner, setAlwaysLookupLatestDefinitionVersion, setBeans, setBulkInsertEnabled, setByteArrayDataManager, setByteArrayEntityManager, setClassLoader, setClock, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomMybatisInterceptors, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setCustomSessionFactories, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDatabaseWildcardEscapeCharacter, setDataSource, setDataSourceJndiName, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDefaultTenantProvider, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEngineLifecycleListeners, setEventDispatcher, setEventListeners, setEventRegistryConfigurator, setEventRegistryEventConsumers, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdGenerator, setIdmEngineConfigurator, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setLockPollRate, setLoggingListener, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setMybatisMappingFile, setPropertyDataManager, setPropertyEntityManager, setSchemaCommandConfig, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setSessionFactories, setSqlSessionFactory, setTablePrefixIsSchema, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingRelationalDatabase, setUsingSchemaMgmt, setXmlEncoding
-
Field Details
-
FORM_ENGINE_CONFIGURATION
- See Also:
-
DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
-
LIQUIBASE_CHANGELOG_PREFIX
- See Also:
-
formEngineName
-
formManagementService
-
formRepositoryService
-
formService
-
changeTenantIdManager
-
deploymentDataManager
-
formDefinitionDataManager
-
resourceDataManager
-
formInstanceDataManager
-
deploymentEntityManager
-
formDefinitionEntityManager
-
resourceEntityManager
-
formInstanceEntityManager
-
expressionManager
-
expressionManagerConfigurers
-
preDefaultELResolvers
-
preBeanELResolvers
-
postDefaultELResolvers
-
formResourceConverter
-
submittedVariablesExtractor
-
formDataModelVariablesExtractor
-
formDeployer
-
formParseFactory
-
parsedDeploymentBuilderFactory
-
formDeploymentHelper
-
cachingAndArtifactsManager
-
customPreDeployers
-
customPostDeployers
-
deployers
-
deploymentManager
-
formDefinitionCacheLimit
protected int formDefinitionCacheLimit -
formDefinitionCache
-
formFieldValidators
-
customFormFieldValidators
-
-
Constructor Details
-
FormEngineConfiguration
public FormEngineConfiguration()
-
-
Method Details
-
createFormEngineConfigurationFromResourceDefault
-
createFormEngineConfigurationFromResource
-
createFormEngineConfigurationFromResource
public static FormEngineConfiguration createFormEngineConfigurationFromResource(String resource, String beanName) -
createFormEngineConfigurationFromInputStream
public static FormEngineConfiguration createFormEngineConfigurationFromInputStream(InputStream inputStream) -
createFormEngineConfigurationFromInputStream
public static FormEngineConfiguration createFormEngineConfigurationFromInputStream(InputStream inputStream, String beanName) -
createStandaloneFormEngineConfiguration
-
createStandaloneInMemFormEngineConfiguration
-
buildFormEngine
-
init
protected void init() -
initServices
protected void initServices() -
initChangeTenantIdManager
public void initChangeTenantIdManager() -
initExpressionManager
public void initExpressionManager() -
initDataManagers
public void initDataManagers()- Overrides:
initDataManagers
in classAbstractEngineConfiguration
-
initEntityManagers
public void initEntityManagers()- Overrides:
initEntityManagers
in classAbstractEngineConfiguration
-
initSchemaManager
public void initSchemaManager()- Overrides:
initSchemaManager
in classAbstractEngineConfiguration
-
initSchemaManagementCommand
public void initSchemaManagementCommand() -
initSessionFactories
public void initSessionFactories()- Overrides:
initSessionFactories
in classAbstractEngineConfiguration
-
initDbSqlSessionFactory
public void initDbSqlSessionFactory()- Overrides:
initDbSqlSessionFactory
in classAbstractEngineConfiguration
-
initDbSqlSessionFactoryEntitySettings
protected void initDbSqlSessionFactoryEntitySettings()- Specified by:
initDbSqlSessionFactoryEntitySettings
in classAbstractEngineConfiguration
-
createDbSqlSessionFactory
- Overrides:
createDbSqlSessionFactory
in classAbstractEngineConfiguration
-
initCommandExecutors
public void initCommandExecutors()- Overrides:
initCommandExecutors
in classAbstractEngineConfiguration
-
getEngineCfgKey
- Specified by:
getEngineCfgKey
in classAbstractEngineConfiguration
-
getEngineScopeType
- Specified by:
getEngineScopeType
in classAbstractEngineConfiguration
-
createTransactionInterceptor
- Specified by:
createTransactionInterceptor
in classAbstractEngineConfiguration
-
initDeployers
protected void initDeployers() -
getDefaultDeployers
-
initDmnDeployerDependencies
public void initDmnDeployerDependencies() -
initFormFieldValidators
protected void initFormFieldValidators() -
getMyBatisXmlConfigurationStream
- Specified by:
getMyBatisXmlConfigurationStream
in classAbstractEngineConfiguration
-
getEngineName
- Specified by:
getEngineName
in classAbstractEngineConfiguration
-
setEngineName
-
getFormManagementService
- Specified by:
getFormManagementService
in interfaceFormEngineConfigurationApi
-
setFormManagementService
public FormEngineConfiguration setFormManagementService(FormManagementService formManagementService) -
getFormRepositoryService
- Specified by:
getFormRepositoryService
in interfaceFormEngineConfigurationApi
-
setFormRepositoryService
public FormEngineConfiguration setFormRepositoryService(FormRepositoryService formRepositoryService) -
getFormService
- Specified by:
getFormService
in interfaceCoreFormEngineConfigurationApi
- Specified by:
getFormService
in interfaceFormEngineConfigurationApi
-
setFormService
-
getDeploymentManager
-
getFormEngineConfiguration
-
getFormDeployer
-
setFormDeployer
-
getFormParseFactory
-
setFormParseFactory
-
getFormCacheLimit
public int getFormCacheLimit() -
setFormDefinitionCacheLimit
-
getFormDefinitionCache
-
setFormDefinitionCache
public FormEngineConfiguration setFormDefinitionCache(DeploymentCache<FormDefinitionCacheEntry> formDefinitionCache) -
getDeploymentDataManager
-
setDeploymentDataManager
public FormEngineConfiguration setDeploymentDataManager(FormDeploymentDataManager deploymentDataManager) -
getFormDefinitionDataManager
-
setFormDefinitionDataManager
public FormEngineConfiguration setFormDefinitionDataManager(FormDefinitionDataManager formDefinitionDataManager) -
getResourceDataManager
-
setResourceDataManager
-
getFormInstanceDataManager
-
setFormInstanceDataManager
public FormEngineConfiguration setFormInstanceDataManager(FormInstanceDataManager formInstanceDataManager) -
getDeploymentEntityManager
-
setDeploymentEntityManager
public FormEngineConfiguration setDeploymentEntityManager(FormDeploymentEntityManager deploymentEntityManager) -
getFormDefinitionEntityManager
-
setFormDefinitionEntityManager
public FormEngineConfiguration setFormDefinitionEntityManager(FormDefinitionEntityManager formDefinitionEntityManager) -
getResourceEntityManager
-
setResourceEntityManager
public FormEngineConfiguration setResourceEntityManager(FormResourceEntityManager resourceEntityManager) -
getFormInstanceEntityManager
-
setFormInstanceEntityManager
public FormEngineConfiguration setFormInstanceEntityManager(FormInstanceEntityManager formInstanceEntityManager) -
setTableDataManager
- Overrides:
setTableDataManager
in classAbstractEngineConfiguration
-
getExpressionManager
- Specified by:
getExpressionManager
in interfaceHasExpressionManagerEngineConfiguration
-
setExpressionManager
- Specified by:
setExpressionManager
in interfaceHasExpressionManagerEngineConfiguration
-
addExpressionManagerConfigurer
public AbstractEngineConfiguration addExpressionManagerConfigurer(Consumer<ExpressionManager> configurer) - Specified by:
addExpressionManagerConfigurer
in interfaceHasExpressionManagerEngineConfiguration
-
getChangeTenantIdManager
-
setChangeTenantIdManager
public FormEngineConfiguration setChangeTenantIdManager(ChangeTenantIdManager changeTenantIdManager) -
getPreDefaultELResolvers
-
setPreDefaultELResolvers
public FormEngineConfiguration setPreDefaultELResolvers(Collection<ELResolver> preDefaultELResolvers) -
addPreDefaultELResolver
-
getPreBeanELResolvers
-
setPreBeanELResolvers
-
addPreBeanELResolver
-
getPostDefaultELResolvers
-
setPostDefaultELResolvers
public FormEngineConfiguration setPostDefaultELResolvers(Collection<ELResolver> postDefaultELResolvers) -
addPostDefaultELResolver
-
setObjectMapper
public FormEngineConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) - Overrides:
setObjectMapper
in classAbstractEngineConfiguration
-
getFormResourceConverter
-
setFormResourceConverter
public FormEngineConfiguration setFormResourceConverter(FormModelResourceConverter formResourceConverter) -
getSubmittedVariablesExtractor
-
setSubmittedVariablesExtractor
-
getFormDataModelVariablesExtractor
-
setFormDataModelVariablesExtractor
public void setFormDataModelVariablesExtractor(FormDataModelVariablesExtractor formDataModelVariablesExtractor) -
addCustomFormFieldValidators
public FormEngineConfiguration addCustomFormFieldValidators(Collection<SubmittedVariableValidator> customFormFieldValidators) -
getFormFieldValidators
-