Package com.flowable.form.engine
Class FormEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
com.flowable.form.engine.FormEngineConfiguration
- All Implemented Interfaces:
org.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
,org.flowable.form.api.FormEngineConfigurationApi
- Direct Known Subclasses:
SpringFormEngineConfiguration
,StandaloneFormEngineConfiguration
public class FormEngineConfiguration
extends org.flowable.common.engine.impl.AbstractEngineConfiguration
implements org.flowable.form.api.FormEngineConfigurationApi, org.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
additionalEventDispatchActions, allConfigurators, alwaysLookupLatestDefinitionVersion, beans, 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, PRODUCT_NAME_CRDB, PRODUCT_NAME_POSTGRES, propertyDataManager, propertyEntityManager, schemaCommandConfig, schemaLockWaitTime, schemaManagementCmd, schemaManager, serviceConfigurations, sessionFactories, sqlSessionFactory, 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, getAllConfigurators, getBeans, 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, getPropertyDataManager, getPropertyEntityManager, getResourceAsStream, getSchemaCommandConfig, getSchemaLockWaitTime, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initAdditionalEventDispatchActions, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDefaultCommandConfig, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initSchemaCommandConfig, 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, setAlwaysLookupLatestDefinitionVersion, setBeans, setBulkInsertEnabled, 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
public static final java.lang.String FORM_ENGINE_CONFIGURATION- See Also:
- Constant Field Values
-
DEFAULT_MYBATIS_MAPPING_FILE
public static final java.lang.String DEFAULT_MYBATIS_MAPPING_FILE- See Also:
- Constant Field Values
-
LIQUIBASE_CHANGELOG_PREFIX
public static final java.lang.String LIQUIBASE_CHANGELOG_PREFIX- See Also:
- Constant Field Values
-
formEngineName
protected java.lang.String formEngineName -
formManagementService
protected org.flowable.form.api.FormManagementService formManagementService -
formRepositoryService
protected org.flowable.form.api.FormRepositoryService formRepositoryService -
formService
protected org.flowable.form.api.FormService formService -
deploymentDataManager
-
formDefinitionDataManager
-
resourceDataManager
-
formInstanceDataManager
-
deploymentEntityManager
-
formDefinitionEntityManager
-
resourceEntityManager
-
formInstanceEntityManager
-
tableDataManager
-
expressionManager
protected org.flowable.common.engine.impl.el.ExpressionManager expressionManager -
formJsonConverter
protected com.flowable.editor.form.converter.FormJsonConverter formJsonConverter -
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
submittedVariablesExtractor
-
formDataModelVariablesExtractor
-
formDeployer
-
formParseFactory
-
parsedDeploymentBuilderFactory
-
formDeploymentHelper
-
cachingAndArtifactsManager
-
customPreDeployers
-
customPostDeployers
-
deployers
-
deploymentManager
-
formDefinitionCacheLimit
protected int formDefinitionCacheLimit -
formDefinitionCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<FormDefinitionCacheEntry> formDefinitionCache -
formFieldValidators
-
customFormFieldValidators
-
-
Constructor Details
-
FormEngineConfiguration
public FormEngineConfiguration()
-
-
Method Details
-
createFormEngineConfigurationFromResourceDefault
-
createFormEngineConfigurationFromResource
public static FormEngineConfiguration createFormEngineConfigurationFromResource(java.lang.String resource) -
createFormEngineConfigurationFromResource
public static FormEngineConfiguration createFormEngineConfigurationFromResource(java.lang.String resource, java.lang.String beanName) -
createFormEngineConfigurationFromInputStream
public static FormEngineConfiguration createFormEngineConfigurationFromInputStream(java.io.InputStream inputStream) -
createFormEngineConfigurationFromInputStream
public static FormEngineConfiguration createFormEngineConfigurationFromInputStream(java.io.InputStream inputStream, java.lang.String beanName) -
createStandaloneFormEngineConfiguration
-
createStandaloneInMemFormEngineConfiguration
-
buildFormEngine
-
init
protected void init() -
initServices
protected void initServices() -
initService
protected void initService(java.lang.Object service)- Overrides:
initService
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initExpressionManager
public void initExpressionManager() -
initDataManagers
public void initDataManagers()- Overrides:
initDataManagers
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initEntityManagers
public void initEntityManagers()- Overrides:
initEntityManagers
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initSchemaManager
public void initSchemaManager()- Overrides:
initSchemaManager
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initSchemaManagementCommand
public void initSchemaManagementCommand() -
initSessionFactories
public void initSessionFactories()- Overrides:
initSessionFactories
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDbSqlSessionFactory
public void initDbSqlSessionFactory()- Overrides:
initDbSqlSessionFactory
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDbSqlSessionFactoryEntitySettings
protected void initDbSqlSessionFactoryEntitySettings()- Specified by:
initDbSqlSessionFactoryEntitySettings
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
createDbSqlSessionFactory
public org.flowable.common.engine.impl.db.DbSqlSessionFactory createDbSqlSessionFactory()- Overrides:
createDbSqlSessionFactory
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initCommandExecutors
public void initCommandExecutors()- Overrides:
initCommandExecutors
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initCommandInterceptors
public void initCommandInterceptors()- Overrides:
initCommandInterceptors
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getEngineCfgKey
public java.lang.String getEngineCfgKey()- Specified by:
getEngineCfgKey
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
createTransactionInterceptor
public org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()- Specified by:
createTransactionInterceptor
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDeployers
protected void initDeployers() -
getDefaultDeployers
-
initDmnDeployerDependencies
public void initDmnDeployerDependencies() -
initFormFieldValidators
protected void initFormFieldValidators() -
getMyBatisXmlConfigurationStream
public java.io.InputStream getMyBatisXmlConfigurationStream()- Specified by:
getMyBatisXmlConfigurationStream
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getEngineName
public java.lang.String getEngineName()- Specified by:
getEngineName
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
setEngineName
-
getFormManagementService
public org.flowable.form.api.FormManagementService getFormManagementService()- Specified by:
getFormManagementService
in interfaceorg.flowable.form.api.FormEngineConfigurationApi
-
setFormManagementService
public FormEngineConfiguration setFormManagementService(org.flowable.form.api.FormManagementService formManagementService) -
getFormRepositoryService
public org.flowable.form.api.FormRepositoryService getFormRepositoryService()- Specified by:
getFormRepositoryService
in interfaceorg.flowable.form.api.FormEngineConfigurationApi
-
setFormRepositoryService
public FormEngineConfiguration setFormRepositoryService(org.flowable.form.api.FormRepositoryService formRepositoryService) -
getFormService
public org.flowable.form.api.FormService getFormService()- Specified by:
getFormService
in interfaceorg.flowable.form.api.FormEngineConfigurationApi
-
setFormService
-
getDeploymentManager
-
getFormEngineConfiguration
-
getFormDeployer
-
setFormDeployer
-
getFormParseFactory
-
setFormParseFactory
-
getFormCacheLimit
public int getFormCacheLimit() -
setFormDefinitionCacheLimit
-
getFormDefinitionCache
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<FormDefinitionCacheEntry> getFormDefinitionCache() -
setFormDefinitionCache
public FormEngineConfiguration setFormDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.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) -
getTableDataManager
-
setTableDataManager
-
getExpressionManager
public org.flowable.common.engine.impl.el.ExpressionManager getExpressionManager()- Specified by:
getExpressionManager
in interfaceorg.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
-
setExpressionManager
public FormEngineConfiguration setExpressionManager(org.flowable.common.engine.impl.el.ExpressionManager expressionManager)- Specified by:
setExpressionManager
in interfaceorg.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()- Overrides:
getObjectMapper
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
setObjectMapper
public FormEngineConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)- Overrides:
setObjectMapper
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getFormJsonConverter
public com.flowable.editor.form.converter.FormJsonConverter getFormJsonConverter() -
setFormJsonConverter
public FormEngineConfiguration setFormJsonConverter(com.flowable.editor.form.converter.FormJsonConverter formJsonConverter) -
getSubmittedVariablesExtractor
-
setSubmittedVariablesExtractor
public void setSubmittedVariablesExtractor(SubmittedVariablesExtractor submittedVariablesExtractor) -
getFormDataModelVariablesExtractor
-
setFormDataModelVariablesExtractor
public void setFormDataModelVariablesExtractor(FormDataModelVariablesExtractor formDataModelVariablesExtractor) -
addCustomFormFieldValidators
public FormEngineConfiguration addCustomFormFieldValidators(java.util.Collection<SubmittedVariableValidator> customFormFieldValidators) -
getFormFieldValidators
-