Package org.flowable.idm.spring
Class SpringIdmEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
org.flowable.idm.engine.IdmEngineConfiguration
org.flowable.idm.spring.SpringIdmEngineConfiguration
- All Implemented Interfaces:
org.flowable.idm.api.IdmEngineConfigurationApi,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SpringIdmEngineConfiguration
extends IdmEngineConfiguration
implements org.springframework.context.ApplicationContextAware
- Author:
- Tijs Rademakers, David Syer, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected org.springframework.transaction.PlatformTransactionManagerprotected IntegerFields inherited from class org.flowable.idm.engine.IdmEngineConfiguration
DEFAULT_MYBATIS_MAPPING_FILE, groupDataManager, groupEntityManager, identityInfoDataManager, identityInfoEntityManager, idmByteArrayDataManager, idmByteArrayEntityManager, idmEngineName, idmIdentityService, idmManagementService, idmPropertyDataManager, idmPropertyEntityManager, membershipDataManager, membershipEntityManager, passwordEncoder, passwordSalt, privilegeDataManager, privilegeEntityManager, privilegeMappingDataManager, privilegeMappingEntityManager, tokenDataManager, tokenEntityManager, userDataManager, userEntityManagerFields 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, customPostDeployers, customPreCommandInterceptors, customPreDeployers, 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, deployers, 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.common.engine.impl.interceptor.CommandInterceptororg.springframework.context.ApplicationContextorg.springframework.transaction.PlatformTransactionManagervoidvoidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) setDataSource(DataSource dataSource) voidsetTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) voidsetTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) Methods inherited from class org.flowable.idm.engine.IdmEngineConfiguration
createDbSqlSessionFactory, createIdmEngineConfigurationFromInputStream, createIdmEngineConfigurationFromInputStream, createIdmEngineConfigurationFromResource, createIdmEngineConfigurationFromResource, createIdmEngineConfigurationFromResourceDefault, createStandaloneIdmEngineConfiguration, createStandaloneInMemIdmEngineConfiguration, getEngineCfgKey, getEngineName, getEngineScopeType, getGroupDataManager, getGroupEntityManager, getIdentityInfoDataManager, getIdentityInfoEntityManager, getIdmByteArrayDataManager, getIdmByteArrayEntityManager, getIdmEngineConfiguration, getIdmIdentityService, getIdmManagementService, getIdmPropertyDataManager, getIdmPropertyEntityManager, getMembershipDataManager, getMembershipEntityManager, getMyBatisXmlConfigurationStream, getPasswordEncoder, getPasswordSalt, getPrivilegeDataManager, getPrivilegeEntityManager, getPrivilegeMappingDataManager, getPrivilegeMappingEntityManager, getTokenDataManager, getTokenEntityManager, getUserDataManager, getUserEntityManager, init, initCommandExecutors, initCommandInterceptors, initDataManagers, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initEntityManagers, initEventDispatcher, initPasswordEncoder, initSchemaManagementCommand, initSchemaManager, initServices, setBeans, setClock, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomSessionFactories, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseWildcardEscapeCharacter, setDataSourceJndiName, setDefaultCommandConfig, setEnableEventDispatcher, setEngineName, setEventDispatcher, setEventListeners, setGroupDataManager, setGroupEntityManager, setIdentityInfoDataManager, setIdentityInfoEntityManager, setIdGenerator, setIdmByteArrayDataManager, setIdmByteArrayEntityManager, setIdmIdentityService, setIdmManagementService, setIdmPropertyDataManager, setIdmPropertyEntityManager, setJdbcDefaultTransactionIsolationLevel, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setMembershipDataManager, setMembershipEntityManager, setPasswordEncoder, setPasswordSalt, setPrivilegeDataManager, setPrivilegeEntityManager, setPrivilegeMappingDataManager, setPrivilegeMappingEntityManager, setSchemaCommandConfig, setSessionFactories, setSqlSessionFactory, setTableDataManager, setTablePrefixIsSchema, setTokenDataManager, setTokenEntityManager, setTransactionFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUserDataManager, setUserEntityManager, setUsingRelationalDatabase, setXmlEncodingMethods 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, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initEngineConfigurations, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initObjectMapper, 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, setAgendaOperationExecutionListeners, setAgendaOperationRunner, setAlwaysLookupLatestDefinitionVersion, setBulkInsertEnabled, setByteArrayDataManager, setByteArrayEntityManager, setClassLoader, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomMybatisInterceptors, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setDatabaseType, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandInterceptors, setDefaultTenantProvider, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableLogSqlExecutionTime, setEngineConfigurations, setEngineLifecycleListeners, setEventRegistryConfigurator, setEventRegistryEventConsumers, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdmEngineConfigurator, setJdbcDriver, setJdbcUrl, setJdbcUsername, setLockPollRate, setLoggingListener, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setMybatisMappingFile, setObjectMapper, setPropertyDataManager, setPropertyEntityManager, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setTransactionContextFactory, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingSchemaMgmt
-
Field Details
-
transactionManager
protected org.springframework.transaction.PlatformTransactionManager transactionManager -
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
transactionSynchronizationAdapterOrder
-
-
Constructor Details
-
SpringIdmEngineConfiguration
public SpringIdmEngineConfiguration()
-
-
Method Details
-
buildIdmEngine
- Overrides:
buildIdmEnginein classIdmEngineConfiguration
-
setTransactionSynchronizationAdapterOrder
public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) -
initDefaultCommandConfig
public void initDefaultCommandConfig()- Overrides:
initDefaultCommandConfigin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
createTransactionInterceptor
public org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()- Overrides:
createTransactionInterceptorin classIdmEngineConfiguration
-
initTransactionContextFactory
public void initTransactionContextFactory()- Overrides:
initTransactionContextFactoryin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
setDataSource
- Overrides:
setDataSourcein classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getTransactionManager
public org.springframework.transaction.PlatformTransactionManager getTransactionManager() -
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) -
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-