public class SpringFormEngineConfiguration extends FormEngineConfiguration implements SpringEngineConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected String |
deploymentMode |
protected String |
deploymentName |
protected org.springframework.core.io.Resource[] |
deploymentResources |
protected List<String> |
enginesBuild |
protected Object |
lifeCycleMonitor |
protected boolean |
running |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
cachingAndArtifactsManager, customPostDeployers, customPreDeployers, DEFAULT_MYBATIS_MAPPING_FILE, deployers, deploymentDataManager, deploymentEntityManager, deploymentManager, expressionManager, formDefinitionCache, formDefinitionCacheLimit, formDefinitionDataManager, formDefinitionEntityManager, formDeployer, formDeploymentHelper, formEngineName, formInstanceDataManager, formInstanceEntityManager, formJsonConverter, formManagementService, formParseFactory, formRepositoryService, formService, LIQUIBASE_CHANGELOG_PREFIX, parsedDeploymentBuilderFactory, resourceDataManager, resourceEntityManageradditionalEventDispatchActions, 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, xmlEncodingPHASE, PHASE_DELTA| Constructor and Description |
|---|
SpringFormEngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
autoDeployResources(FormEngine formEngine) |
FormEngine |
buildFormEngine() |
org.flowable.common.engine.impl.interceptor.CommandInterceptor |
createTransactionInterceptor() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected AutoDeploymentStrategy<FormEngine> |
getAutoDeploymentStrategy(String mode)
Gets the
AutoDeploymentStrategy for the provided mode. |
String |
getDeploymentMode() |
String |
getDeploymentName() |
org.springframework.core.io.Resource[] |
getDeploymentResources() |
Collection<AutoDeploymentStrategy<FormEngine>> |
getDeploymentStrategies() |
int |
getPhase() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initDefaultCommandConfig() |
void |
initTransactionContextFactory() |
boolean |
isRunning() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
FormEngineConfiguration |
setDataSource(DataSource dataSource) |
void |
setDeploymentMode(String deploymentMode) |
void |
setDeploymentName(String deploymentName) |
void |
setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources) |
void |
setDeploymentStrategies(Collection<AutoDeploymentStrategy<FormEngine>> deploymentStrategies) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) |
void |
start() |
void |
stop() |
createDbSqlSessionFactory, createFormEngineConfigurationFromInputStream, createFormEngineConfigurationFromInputStream, createFormEngineConfigurationFromResource, createFormEngineConfigurationFromResource, createFormEngineConfigurationFromResourceDefault, createStandaloneFormEngineConfiguration, createStandaloneInMemFormEngineConfiguration, getDefaultDeployers, getDeploymentDataManager, getDeploymentEntityManager, getDeploymentManager, getEngineCfgKey, getEngineName, getEngineScopeType, getExpressionManager, getFormCacheLimit, getFormDefinitionCache, getFormDefinitionDataManager, getFormDefinitionEntityManager, getFormDeployer, getFormEngineConfiguration, getFormInstanceDataManager, getFormInstanceEntityManager, getFormJsonConverter, getFormManagementService, getFormParseFactory, getFormRepositoryService, getFormService, getMyBatisXmlConfigurationStream, getResourceDataManager, getResourceEntityManager, init, initCommandExecutors, initCommandInterceptors, initDataManagers, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initDeployers, initDmnDeployerDependencies, initEntityManagers, initExpressionManager, initSchemaManagementCommand, initSchemaManager, initServices, setDeploymentDataManager, setDeploymentEntityManager, setEngineName, setExpressionManager, setFormDefinitionCache, setFormDefinitionCacheLimit, setFormDefinitionDataManager, setFormDefinitionEntityManager, setFormDeployer, setFormInstanceDataManager, setFormInstanceEntityManager, setFormJsonConverter, setFormManagementService, setFormParseFactory, setFormRepositoryService, setFormService, setResourceDataManager, setResourceEntityManager, setTableDataManageraddConfigurator, 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, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initSchemaCommandConfig, initService, initSessionFactories, initSqlSessionFactory, 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, 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, setObjectMapper, setPropertyDataManager, setPropertyEntityManager, setSchemaCommandConfig, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setSessionFactories, setSqlSessionFactory, setTablePrefixIsSchema, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingRelationalDatabase, setUsingSchemaMgmt, setXmlEncodingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBeans, isAutoStartup, stopprotected org.springframework.transaction.PlatformTransactionManager transactionManager
protected String deploymentName
protected org.springframework.core.io.Resource[] deploymentResources
protected String deploymentMode
protected org.springframework.context.ApplicationContext applicationContext
protected Integer transactionSynchronizationAdapterOrder
protected volatile boolean running
protected final Object lifeCycleMonitor
public FormEngine buildFormEngine()
buildFormEngine in class FormEngineConfigurationpublic void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder)
public void initDefaultCommandConfig()
initDefaultCommandConfig in class org.flowable.common.engine.impl.AbstractEngineConfigurationpublic org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()
createTransactionInterceptor in class FormEngineConfigurationpublic void initTransactionContextFactory()
initTransactionContextFactory in class org.flowable.common.engine.impl.AbstractEngineConfigurationprotected void autoDeployResources(FormEngine formEngine)
public FormEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class org.flowable.common.engine.impl.AbstractEngineConfigurationpublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in interface SpringEngineConfigurationpublic void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
setTransactionManager in interface SpringEngineConfigurationpublic String getDeploymentName()
getDeploymentName in interface SpringEngineConfigurationpublic void setDeploymentName(String deploymentName)
setDeploymentName in interface SpringEngineConfigurationpublic org.springframework.core.io.Resource[] getDeploymentResources()
getDeploymentResources in interface SpringEngineConfigurationpublic void setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources)
setDeploymentResources in interface SpringEngineConfigurationpublic org.springframework.context.ApplicationContext getApplicationContext()
getApplicationContext in interface SpringEngineConfigurationpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface SpringEngineConfigurationsetApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic String getDeploymentMode()
getDeploymentMode in interface SpringEngineConfigurationpublic void setDeploymentMode(String deploymentMode)
setDeploymentMode in interface SpringEngineConfigurationprotected AutoDeploymentStrategy<FormEngine> getAutoDeploymentStrategy(String mode)
AutoDeploymentStrategy for the provided mode. This method may be overridden to implement custom deployment strategies if required, but implementors should take care not to
return null.mode - the mode to get the strategy fornullpublic Collection<AutoDeploymentStrategy<FormEngine>> getDeploymentStrategies()
public void setDeploymentStrategies(Collection<AutoDeploymentStrategy<FormEngine>> deploymentStrategies)
public void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic int getPhase()
getPhase in interface SpringEngineConfigurationgetPhase in interface org.springframework.context.PhasedgetPhase in interface org.springframework.context.SmartLifecycleCopyright © 2020 Flowable. All rights reserved.