Package com.flowable.form.engine
Class FormEngineConfiguration
- java.lang.Object
-
- org.flowable.common.engine.impl.AbstractEngineConfiguration
-
- com.flowable.form.engine.FormEngineConfiguration
-
- All Implemented Interfaces:
HasExpressionManagerEngineConfiguration
,FormEngineConfigurationApi
- Direct Known Subclasses:
SpringFormEngineConfiguration
,StandaloneFormEngineConfiguration
public class FormEngineConfiguration extends AbstractEngineConfiguration implements FormEngineConfigurationApi, HasExpressionManagerEngineConfiguration
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
additionalEventDispatchActions, 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
Constructors Constructor Description FormEngineConfiguration()
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
addConfigurator, addCustomSessionFactory, addEngineConfiguration, addEngineLifecycleListener, addEventRegistryEventConsumer, addServiceConfiguration, addSessionFactory, close, configuratorsAfterInit, configuratorsBeforeInit, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, 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, getDefaultTenantValue, 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, 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, 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 Detail
-
FORM_ENGINE_CONFIGURATION
public static final String FORM_ENGINE_CONFIGURATION
- See Also:
- Constant Field Values
-
DEFAULT_MYBATIS_MAPPING_FILE
public static final String DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
- Constant Field Values
-
LIQUIBASE_CHANGELOG_PREFIX
public static final String LIQUIBASE_CHANGELOG_PREFIX
- See Also:
- Constant Field Values
-
formEngineName
protected String formEngineName
-
formManagementService
protected FormManagementService formManagementService
-
formRepositoryService
protected FormRepositoryService formRepositoryService
-
formService
protected FormService formService
-
changeTenantIdManager
protected ChangeTenantIdManager changeTenantIdManager
-
deploymentDataManager
protected FormDeploymentDataManager deploymentDataManager
-
formDefinitionDataManager
protected FormDefinitionDataManager formDefinitionDataManager
-
resourceDataManager
protected FormResourceDataManager resourceDataManager
-
formInstanceDataManager
protected FormInstanceDataManager formInstanceDataManager
-
deploymentEntityManager
protected FormDeploymentEntityManager deploymentEntityManager
-
formDefinitionEntityManager
protected FormDefinitionEntityManager formDefinitionEntityManager
-
resourceEntityManager
protected FormResourceEntityManager resourceEntityManager
-
formInstanceEntityManager
protected FormInstanceEntityManager formInstanceEntityManager
-
expressionManager
protected ExpressionManager expressionManager
-
preDefaultELResolvers
protected Collection<ELResolver> preDefaultELResolvers
-
preBeanELResolvers
protected Collection<ELResolver> preBeanELResolvers
-
postDefaultELResolvers
protected Collection<ELResolver> postDefaultELResolvers
-
formJsonConverter
protected com.flowable.editor.form.converter.FormJsonConverter formJsonConverter
-
submittedVariablesExtractor
protected SubmittedVariablesExtractor submittedVariablesExtractor
-
formDataModelVariablesExtractor
protected FormDataModelVariablesExtractor formDataModelVariablesExtractor
-
formDeployer
protected FormDefinitionDeployer formDeployer
-
formParseFactory
protected FormDefinitionParseFactory formParseFactory
-
parsedDeploymentBuilderFactory
protected ParsedDeploymentBuilderFactory parsedDeploymentBuilderFactory
-
formDeploymentHelper
protected FormDefinitionDeploymentHelper formDeploymentHelper
-
cachingAndArtifactsManager
protected CachingAndArtifactsManager cachingAndArtifactsManager
-
deploymentManager
protected DeploymentManager deploymentManager
-
formDefinitionCacheLimit
protected int formDefinitionCacheLimit
-
formDefinitionCache
protected DeploymentCache<FormDefinitionCacheEntry> formDefinitionCache
-
formFieldValidators
protected Collection<SubmittedVariableValidator> formFieldValidators
-
customFormFieldValidators
protected Collection<SubmittedVariableValidator> customFormFieldValidators
-
-
Method Detail
-
createFormEngineConfigurationFromResourceDefault
public static FormEngineConfiguration createFormEngineConfigurationFromResourceDefault()
-
createFormEngineConfigurationFromResource
public static FormEngineConfiguration createFormEngineConfigurationFromResource(String resource)
-
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
public static FormEngineConfiguration createStandaloneFormEngineConfiguration()
-
createStandaloneInMemFormEngineConfiguration
public static FormEngineConfiguration createStandaloneInMemFormEngineConfiguration()
-
buildFormEngine
public FormEngine 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
public DbSqlSessionFactory createDbSqlSessionFactory()
- Overrides:
createDbSqlSessionFactory
in classAbstractEngineConfiguration
-
initCommandExecutors
public void initCommandExecutors()
- Overrides:
initCommandExecutors
in classAbstractEngineConfiguration
-
initCommandInterceptors
public void initCommandInterceptors()
- Overrides:
initCommandInterceptors
in classAbstractEngineConfiguration
-
getEngineCfgKey
public String getEngineCfgKey()
- Specified by:
getEngineCfgKey
in classAbstractEngineConfiguration
-
getEngineScopeType
public String getEngineScopeType()
- Specified by:
getEngineScopeType
in classAbstractEngineConfiguration
-
createTransactionInterceptor
public CommandInterceptor createTransactionInterceptor()
- Specified by:
createTransactionInterceptor
in classAbstractEngineConfiguration
-
initDeployers
protected void initDeployers()
-
getDefaultDeployers
public Collection<? extends Deployer> getDefaultDeployers()
-
initDmnDeployerDependencies
public void initDmnDeployerDependencies()
-
initFormFieldValidators
protected void initFormFieldValidators()
-
getMyBatisXmlConfigurationStream
public InputStream getMyBatisXmlConfigurationStream()
- Specified by:
getMyBatisXmlConfigurationStream
in classAbstractEngineConfiguration
-
getEngineName
public String getEngineName()
- Specified by:
getEngineName
in classAbstractEngineConfiguration
-
setEngineName
public FormEngineConfiguration setEngineName(String formEngineName)
-
getFormManagementService
public FormManagementService getFormManagementService()
- Specified by:
getFormManagementService
in interfaceFormEngineConfigurationApi
-
setFormManagementService
public FormEngineConfiguration setFormManagementService(FormManagementService formManagementService)
-
getFormRepositoryService
public FormRepositoryService getFormRepositoryService()
- Specified by:
getFormRepositoryService
in interfaceFormEngineConfigurationApi
-
setFormRepositoryService
public FormEngineConfiguration setFormRepositoryService(FormRepositoryService formRepositoryService)
-
getFormService
public FormService getFormService()
- Specified by:
getFormService
in interfaceFormEngineConfigurationApi
-
setFormService
public FormEngineConfiguration setFormService(FormService formService)
-
getDeploymentManager
public DeploymentManager getDeploymentManager()
-
getFormEngineConfiguration
public FormEngineConfiguration getFormEngineConfiguration()
-
getFormDeployer
public FormDefinitionDeployer getFormDeployer()
-
setFormDeployer
public FormEngineConfiguration setFormDeployer(FormDefinitionDeployer formDeployer)
-
getFormParseFactory
public FormDefinitionParseFactory getFormParseFactory()
-
setFormParseFactory
public FormEngineConfiguration setFormParseFactory(FormDefinitionParseFactory formParseFactory)
-
getFormCacheLimit
public int getFormCacheLimit()
-
setFormDefinitionCacheLimit
public FormEngineConfiguration setFormDefinitionCacheLimit(int formDefinitionCacheLimit)
-
getFormDefinitionCache
public DeploymentCache<FormDefinitionCacheEntry> getFormDefinitionCache()
-
setFormDefinitionCache
public FormEngineConfiguration setFormDefinitionCache(DeploymentCache<FormDefinitionCacheEntry> formDefinitionCache)
-
getDeploymentDataManager
public FormDeploymentDataManager getDeploymentDataManager()
-
setDeploymentDataManager
public FormEngineConfiguration setDeploymentDataManager(FormDeploymentDataManager deploymentDataManager)
-
getFormDefinitionDataManager
public FormDefinitionDataManager getFormDefinitionDataManager()
-
setFormDefinitionDataManager
public FormEngineConfiguration setFormDefinitionDataManager(FormDefinitionDataManager formDefinitionDataManager)
-
getResourceDataManager
public FormResourceDataManager getResourceDataManager()
-
setResourceDataManager
public FormEngineConfiguration setResourceDataManager(FormResourceDataManager resourceDataManager)
-
getFormInstanceDataManager
public FormInstanceDataManager getFormInstanceDataManager()
-
setFormInstanceDataManager
public FormEngineConfiguration setFormInstanceDataManager(FormInstanceDataManager formInstanceDataManager)
-
getDeploymentEntityManager
public FormDeploymentEntityManager getDeploymentEntityManager()
-
setDeploymentEntityManager
public FormEngineConfiguration setDeploymentEntityManager(FormDeploymentEntityManager deploymentEntityManager)
-
getFormDefinitionEntityManager
public FormDefinitionEntityManager getFormDefinitionEntityManager()
-
setFormDefinitionEntityManager
public FormEngineConfiguration setFormDefinitionEntityManager(FormDefinitionEntityManager formDefinitionEntityManager)
-
getResourceEntityManager
public FormResourceEntityManager getResourceEntityManager()
-
setResourceEntityManager
public FormEngineConfiguration setResourceEntityManager(FormResourceEntityManager resourceEntityManager)
-
getFormInstanceEntityManager
public FormInstanceEntityManager getFormInstanceEntityManager()
-
setFormInstanceEntityManager
public FormEngineConfiguration setFormInstanceEntityManager(FormInstanceEntityManager formInstanceEntityManager)
-
setTableDataManager
public FormEngineConfiguration setTableDataManager(TableDataManager tableDataManager)
- Overrides:
setTableDataManager
in classAbstractEngineConfiguration
-
getExpressionManager
public ExpressionManager getExpressionManager()
- Specified by:
getExpressionManager
in interfaceHasExpressionManagerEngineConfiguration
-
setExpressionManager
public FormEngineConfiguration setExpressionManager(ExpressionManager expressionManager)
- Specified by:
setExpressionManager
in interfaceHasExpressionManagerEngineConfiguration
-
getChangeTenantIdManager
public ChangeTenantIdManager getChangeTenantIdManager()
-
setChangeTenantIdManager
public FormEngineConfiguration setChangeTenantIdManager(ChangeTenantIdManager changeTenantIdManager)
-
getPreDefaultELResolvers
public Collection<ELResolver> getPreDefaultELResolvers()
-
setPreDefaultELResolvers
public FormEngineConfiguration setPreDefaultELResolvers(Collection<ELResolver> preDefaultELResolvers)
-
addPreDefaultELResolver
public FormEngineConfiguration addPreDefaultELResolver(ELResolver elResolver)
-
getPreBeanELResolvers
public Collection<ELResolver> getPreBeanELResolvers()
-
setPreBeanELResolvers
public FormEngineConfiguration setPreBeanELResolvers(Collection<ELResolver> preBeanELResolvers)
-
addPreBeanELResolver
public FormEngineConfiguration addPreBeanELResolver(ELResolver elResolver)
-
getPostDefaultELResolvers
public Collection<ELResolver> getPostDefaultELResolvers()
-
setPostDefaultELResolvers
public FormEngineConfiguration setPostDefaultELResolvers(Collection<ELResolver> postDefaultELResolvers)
-
addPostDefaultELResolver
public FormEngineConfiguration addPostDefaultELResolver(ELResolver elResolver)
-
setObjectMapper
public FormEngineConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
- Overrides:
setObjectMapper
in classAbstractEngineConfiguration
-
getFormJsonConverter
public com.flowable.editor.form.converter.FormJsonConverter getFormJsonConverter()
-
setFormJsonConverter
public FormEngineConfiguration setFormJsonConverter(com.flowable.editor.form.converter.FormJsonConverter formJsonConverter)
-
getSubmittedVariablesExtractor
public SubmittedVariablesExtractor getSubmittedVariablesExtractor()
-
setSubmittedVariablesExtractor
public void setSubmittedVariablesExtractor(SubmittedVariablesExtractor submittedVariablesExtractor)
-
getFormDataModelVariablesExtractor
public FormDataModelVariablesExtractor getFormDataModelVariablesExtractor()
-
setFormDataModelVariablesExtractor
public void setFormDataModelVariablesExtractor(FormDataModelVariablesExtractor formDataModelVariablesExtractor)
-
addCustomFormFieldValidators
public FormEngineConfiguration addCustomFormFieldValidators(Collection<SubmittedVariableValidator> customFormFieldValidators)
-
getFormFieldValidators
public Collection<SubmittedVariableValidator> getFormFieldValidators()
-
-