public class SpringContentEngineConfiguration extends ContentEngineConfiguration implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
contentEngineName, contentItemDataManager, contentItemEntityManager, contentManagementService, contentRootFolder, contentService, contentStorage, createContentRootFolder, DEFAULT_MYBATIS_MAPPING_FILE, LIQUIBASE_CHANGELOG_PREFIX, LOGGER, tableDataManageradditionalEventDispatchActions, allConfigurators, beans, classLoader, clock, commandContextFactory, commandExecutor, commandInterceptors, commandInvoker, commonSchemaManager, configurators, customMybatisMappers, customMybatisXMLMappers, customPostCommandInterceptors, customPostDeployers, customPreCommandInterceptors, customPreDeployers, customSessionFactories, 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, dependentEngineMybatisTypeAliasConfigs, dependentEngineMybatisTypeHandlerConfigs, dependentEngineMyBatisXmlMappers, deployers, enableConfiguratorServiceLoader, enableEventDispatcher, enableLogSqlExecutionTime, engineConfigurations, eventDispatcher, eventListeners, idGenerator, idmEngineConfigurator, isBulkInsertEnabled, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, NO_TENANT_ID, schemaCommandConfig, schemaManagementCmd, schemaManager, serviceConfigurations, sessionFactories, sqlSessionFactory, tablePrefixIsSchema, transactionContextFactory, transactionFactory, transactionsExternallyManaged, typedEventListeners, useClassForNameClassLoading, usePrefixId, usingRelationalDatabase, usingSchemaMgmt, xmlEncoding| Constructor and Description |
|---|
SpringContentEngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ContentEngine |
buildContentEngine() |
org.flowable.common.engine.impl.interceptor.CommandInterceptor |
createTransactionInterceptor() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initDefaultCommandConfig() |
void |
initTransactionContextFactory() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
ContentEngineConfiguration |
setDataSource(DataSource dataSource) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) |
createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResourceDefault, createDbSqlSessionFactory, createStandaloneContentEngineConfiguration, createStandaloneInMemContentEngineConfiguration, getContentEngineConfiguration, getContentItemDataManager, getContentItemEntityManager, getContentManagementService, getContentRootFolder, getContentService, getContentStorage, getEngineCfgKey, getEngineName, getMyBatisXmlConfigurationStream, getTableDataManager, init, initCommandExecutors, initCommandInterceptors, initContentStorage, initDataManagers, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initEntityManagers, initSchemaManagementCommand, initSchemaManager, initServices, isCreateContentRootFolder, setClock, setContentItemDataManager, setContentItemEntityManager, setContentManagementService, setContentRootFolder, setContentService, setContentStorage, setCreateContentRootFolder, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomSessionFactories, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDataSourceJndiName, setEngineName, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setSessionFactories, setSqlSessionFactory, setTableDataManager, setTablePrefixIsSchema, setTransactionFactory, setUsingRelationalDatabaseaddConfigurator, addEngineConfiguration, addServiceConfiguration, addSessionFactory, configuratorsAfterInit, configuratorsBeforeInit, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, getBeans, getClassLoader, getClock, getCommandContextFactory, getCommandExecutor, getCommandInterceptors, getCommandInvoker, getCommonSchemaManager, getConfigurators, getCustomMybatisMappers, getCustomMybatisXMLMappers, getCustomPostCommandInterceptors, getCustomPostDeployers, getCustomPreCommandInterceptors, getCustomPreDeployers, getCustomSessionFactories, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDatabaseWildcardEscapeCharacter, getDataSource, getDataSourceJndiName, getDbSqlSessionFactory, getDefaultCommandConfig, getDefaultCommandInterceptors, getDefaultDatabaseTypeMappings, getDependentEngineMybatisTypeAliasConfigs, getDependentEngineMybatisTypeHandlerConfigs, getDependentEngineMyBatisXmlMappers, getDeployers, getEngineConfigurations, getEngineSpecificEngineConfigurators, getEventDispatcher, getEventListeners, getIdGenerator, getIdmEngineConfigurator, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getResourceAsStream, getSchemaCommandConfig, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandInvoker, initConfigurators, initCustomMybatisMappers, initDatabaseType, initDataSource, initEngineConfigurations, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initSchemaCommandConfig, initService, initSessionFactories, initSqlSessionFactory, initTransactionFactory, isBulkInsertEnabled, isDbHistoryUsed, isEnableConfiguratorServiceLoader, isEnableEventDispatcher, isEnableLogSqlExecutionTime, isJdbcPingEnabled, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, isUsePrefixId, isUsingRelationalDatabase, isUsingSchemaMgmt, parseCustomMybatisXMLMappers, parseDependentEngineMybatisXMLMappers, parseMybatisConfiguration, parseMybatisXmlMapping, pathToEngineDbProperties, setAdditionalEventDispatchActions, setBeans, setBulkInsertEnabled, setClassLoader, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setDatabaseWildcardEscapeCharacter, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEventDispatcher, setEventListeners, setIdGenerator, setIdmEngineConfigurator, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setSchemaCommandConfig, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setTransactionContextFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUsePrefixId, setUsingSchemaMgmt, setXmlEncodingprotected org.springframework.transaction.PlatformTransactionManager transactionManager
protected org.springframework.context.ApplicationContext applicationContext
protected Integer transactionSynchronizationAdapterOrder
public ContentEngine buildContentEngine()
buildContentEngine in class ContentEngineConfigurationpublic 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 ContentEngineConfigurationpublic void initTransactionContextFactory()
initTransactionContextFactory in class org.flowable.common.engine.impl.AbstractEngineConfigurationpublic ContentEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class ContentEngineConfigurationpublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2018 Flowable. All rights reserved.