public class SpringContentEngineConfiguration extends ContentEngineConfiguration implements org.flowable.common.spring.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 Object |
lifeCycleMonitor |
protected boolean |
running |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
addDefaultExceptionHandler, asyncExecutor, asyncExecutorActivate, asyncExecutorAsyncJobLockTimeInMillis, asyncExecutorCorePoolSize, asyncExecutorDefaultAsyncJobAcquireWaitTime, asyncExecutorDefaultQueueSizeFullWaitTime, asyncExecutorExecuteAsyncRunnableFactory, asyncExecutorLockOwner, asyncExecutorMaxAsyncJobsDuePerAcquisition, asyncExecutorMaxPoolSize, asyncExecutorMessageQueueMode, asyncExecutorNumberOfRetries, asyncExecutorResetExpiredJobsInterval, asyncExecutorResetExpiredJobsMaxTimeout, asyncExecutorResetExpiredJobsPageSize, asyncExecutorSecondsToWaitOnShutdown, asyncExecutorThreadKeepAliveTime, asyncExecutorThreadPoolQueue, asyncExecutorThreadPoolQueueSize, asyncFailedJobWaitTime, asyncHistoryExecutor, asyncHistoryListener, contentAsyncHistoryManager, contentCryptoHandler, contentEngineName, contentItemDataManager, contentItemEntityManager, contentManagementService, contentRenditionManager, contentRootFolder, contentService, contentStorage, createContentRootFolder, customAsyncRunnableExecutionExceptionHandlers, customJobHandlers, customPostVariableTypes, customPreVariableTypes, databaseContentObjectDataManager, databaseContentObjectEntityManager, DEFAULT_MYBATIS_MAPPING_FILE, defaultFailedJobWaitTime, deploymentManager, documentDefinitionCache, documentDefinitionCacheLimit, documentDefinitionDataManager, documentDefinitionDeployer, documentDefinitionEntityManager, documentDeploymentDataManager, documentDeploymentEntityManager, documentRepositoryService, documentResourceConverter, documentResourceDataManager, documentResourceEntityManager, enginesBuild, executeServiceSchemaManagers, failedJobCommandFactory, internalJobManager, internalJobParentStateResolver, isAsyncExecutorAsyncJobAcquisitionEnabled, isAsyncExecutorResetExpiredJobsEnabled, isAsyncHistoryEnabled, jobExecutionScope, jobHandlers, jobManager, jobSchemaManager, jobServiceConfiguration, LIQUIBASE_CHANGELOG_PREFIX, lockTimeAsyncJobWaitTime, LOGGER, metadataInstanceDataManager, metadataInstanceEntityManager, metadataService, objectMapper, renditionConverters, renditionItemDataManager, renditionItemEntityManager, renditionService, serializableVariableTypeTrackDeserializedObjects, tableDataManager, variableTypesadditionalEventDispatchActions, allConfigurators, alwaysLookupLatestDefinitionVersion, beans, 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, eventDispatcher, eventListeners, fallbackToDefaultTenant, forceCloseMybatisConnectionPool, idGenerator, idmEngineConfigurator, isBulkInsertEnabled, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, logger, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, mybatisMappingFile, NO_TENANT_ID, PRODUCT_NAME_CRDB, PRODUCT_NAME_POSTGRES, 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 |
|---|---|
protected void |
autoDeployResources(ContentEngine contentEngine) |
ContentEngine |
buildContentEngine() |
org.flowable.common.engine.impl.interceptor.CommandInterceptor |
createTransactionInterceptor() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected AutoDeploymentStrategy |
getAutoDeploymentStrategy(String mode)
Gets the
AutoDeploymentStrategy for the provided mode. |
String |
getDeploymentMode() |
String |
getDeploymentName() |
org.springframework.core.io.Resource[] |
getDeploymentResources() |
Collection<AutoDeploymentStrategy> |
getDeploymentStrategies() |
int |
getPhase() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initDefaultCommandConfig() |
void |
initTransactionContextFactory() |
boolean |
isRunning() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
ContentEngineConfiguration |
setDataSource(DataSource dataSource) |
void |
setDeploymentMode(String deploymentMode) |
void |
setDeploymentName(String deploymentName) |
void |
setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources) |
ContentEngineConfiguration |
setDeploymentStrategies(Collection<AutoDeploymentStrategy> deploymentStrategies) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) |
void |
start() |
void |
stop() |
createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResourceDefault, createDbSqlSessionFactory, createStandaloneContentEngineConfiguration, createStandaloneInMemContentEngineConfiguration, getAsyncExecutor, getAsyncExecutorAsyncJobLockTimeInMillis, getAsyncExecutorCorePoolSize, getAsyncExecutorDefaultAsyncJobAcquireWaitTime, getAsyncExecutorDefaultQueueSizeFullWaitTime, getAsyncExecutorExecuteAsyncRunnableFactory, getAsyncExecutorLockOwner, getAsyncExecutorMaxAsyncJobsDuePerAcquisition, getAsyncExecutorMaxPoolSize, getAsyncExecutorNumberOfRetries, getAsyncExecutorResetExpiredJobsInterval, getAsyncExecutorResetExpiredJobsMaxTimeout, getAsyncExecutorResetExpiredJobsPageSize, getAsyncExecutorSecondsToWaitOnShutdown, getAsyncExecutorThreadKeepAliveTime, getAsyncExecutorThreadPoolQueue, getAsyncExecutorThreadPoolQueueSize, getAsyncFailedJobWaitTime, getAsyncHistoryExecutor, getAsyncHistoryListener, getContentAsyncHistoryManager, getContentCryptoHandler, getContentEngineConfiguration, getContentItemDataManager, getContentItemEntityManager, getContentManagementService, getContentRenditionManager, getContentRootFolder, getContentService, getContentStorage, getCustomAsyncRunnableExecutionExceptionHandlers, getCustomJobHandlers, getCustomPostVariableTypes, getCustomPreVariableTypes, getDatabaseContentObjectEntityManager, getDefaultDeployers, getDefaultFailedJobWaitTime, getDeploymentManager, getDocumentDefinitionCache, getDocumentDefinitionCacheLimit, getDocumentDefinitionDataManager, getDocumentDefinitionDeployer, getDocumentDefinitionEntityManager, getDocumentDeploymentDataManager, getDocumentDeploymentEntityManager, getDocumentRepositoryService, getDocumentResourceConverter, getDocumentResourceDataManager, getDocumentResourceEntityManager, getEngineCfgKey, getEngineName, getFailedJobCommandFactory, getInternalJobManager, getInternalJobParentStateResolver, getJobExecutionScope, getJobHandlers, getJobManager, getJobSchemaManager, getJobServiceConfiguration, getLockTimeAsyncJobWaitTime, getMetadataInstanceDataManager, getMetadataInstanceEntityManager, getMetadataService, getMyBatisXmlConfigurationStream, getObjectMapper, getRenditionConverters, getRenditionItemDataManager, getRenditionItemEntityManager, getRenditionService, getTableDataManager, getVariableTypes, init, initAsyncExecutor, initAsyncHistorySessionFactory, initCommandExecutors, initCommandInterceptors, initCommonSchemaManager, initContentRenditionManager, initContentStorage, initDataManagers, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initDefaultAsyncHistoryListener, initDeployers, initDeploymentManager, initDocumentDefinitionCache, initDocumentResourceConverter, initEntityManagers, initFailedJobCommandFactory, initJobHandlers, initJobSchemaManager, initJobServiceConfiguration, initMybatisTypeHandlers, initObjectMapper, initSchemaManagementCommand, initSchemaManager, initService, initServices, initSessionFactories, initVariableTypes, isAsyncExecutorActivate, isAsyncExecutorAsyncJobAcquisitionEnabled, isAsyncExecutorMessageQueueMode, isAsyncExecutorResetExpiredJobsEnabled, isAsyncHistoryEnabled, isCreateContentRootFolder, isExecuteServiceSchemaManagers, setAsyncExecutor, setAsyncExecutorActivate, setAsyncExecutorAsyncJobAcquisitionEnabled, setAsyncExecutorAsyncJobLockTimeInMillis, setAsyncExecutorCorePoolSize, setAsyncExecutorDefaultAsyncJobAcquireWaitTime, setAsyncExecutorDefaultQueueSizeFullWaitTime, setAsyncExecutorExecuteAsyncRunnableFactory, setAsyncExecutorLockOwner, setAsyncExecutorMaxAsyncJobsDuePerAcquisition, setAsyncExecutorMaxPoolSize, setAsyncExecutorMessageQueueMode, setAsyncExecutorNumberOfRetries, setAsyncExecutorResetExpiredJobsEnabled, setAsyncExecutorResetExpiredJobsInterval, setAsyncExecutorResetExpiredJobsMaxTimeout, setAsyncExecutorResetExpiredJobsPageSize, setAsyncExecutorSecondsToWaitOnShutdown, setAsyncExecutorThreadKeepAliveTime, setAsyncExecutorThreadPoolQueue, setAsyncExecutorThreadPoolQueueSize, setAsyncFailedJobWaitTime, setAsyncHistoryEnabled, setAsyncHistoryExecutor, setAsyncHistoryListener, setContentAsyncHistoryManager, setContentCryptoHandler, setContentItemDataManager, setContentItemEntityManager, setContentManagementService, setContentRenditionManager, setContentRootFolder, setContentService, setContentStorage, setCreateContentRootFolder, setCustomAsyncRunnableExecutionExceptionHandlers, setCustomJobHandlers, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomPostVariableTypes, setCustomPreVariableTypes, setCustomSessionFactories, setDatabaseCatalog, setDatabaseContentObjectEntityManager, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDataSourceJndiName, setDefaultFailedJobWaitTime, setDeploymentManager, setDocumentDefinitionCache, setDocumentDefinitionCacheLimit, setDocumentDefinitionDataManager, setDocumentDefinitionDeployer, setDocumentDefinitionEntityManager, setDocumentDeploymentDataManager, setDocumentDeploymentEntityManager, setDocumentRepositoryService, setDocumentResourceConverter, setDocumentResourceDataManager, setDocumentResourceEntityManager, setEngineName, setExecuteServiceSchemaManagers, setFailedJobCommandFactory, setInternalJobManager, setInternalJobParentStateResolver, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutionScope, setJobHandlers, setJobManager, setJobSchemaManager, setJobServiceConfiguration, setLockTimeAsyncJobWaitTime, setMetadataInstanceDataManager, setMetadataInstanceEntityManager, setMetadataService, setObjectMapper, setRenditionConverters, setRenditionItemDataManager, setRenditionItemEntityManager, setRenditionService, setSessionFactories, setSqlSessionFactory, setTableDataManager, setTablePrefixIsSchema, setTransactionFactory, setUsingRelationalDatabase, setVariableTypesaddConfigurator, addCustomSessionFactory, addEngineConfiguration, addServiceConfiguration, addSessionFactory, close, configuratorsAfterInit, configuratorsBeforeInit, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, 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, getEngineSpecificEngineConfigurators, getEventDispatcher, getEventListeners, getIdGenerator, getIdmEngineConfigurator, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getMybatisMappingFile, getResourceAsStream, getSchemaCommandConfig, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initAdditionalEventDispatchActions, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initSchemaCommandConfig, initSqlSessionFactory, initTransactionFactory, initTypedEventListeners, isAlwaysLookupLatestDefinitionVersion, isBulkInsertEnabled, isDbHistoryUsed, isEnableConfiguratorServiceLoader, isEnableEventDispatcher, isEnableLogSqlExecutionTime, isFallbackToDefaultTenant, isForceCloseMybatisConnectionPool, isJdbcPingEnabled, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, isUsePrefixId, isUsingRelationalDatabase, isUsingSchemaMgmt, parseCustomMybatisXMLMappers, parseDependentEngineMybatisXMLMappers, parseMybatisConfiguration, parseMybatisXmlMapping, pathToEngineDbProperties, setAdditionalEventDispatchActions, setAlwaysLookupLatestDefinitionVersion, setBeans, setBulkInsertEnabled, setClassLoader, setClock, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomMybatisInterceptors, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setDatabaseWildcardEscapeCharacter, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDefaultTenantProvider, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEventDispatcher, setEventListeners, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdGenerator, setIdmEngineConfigurator, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setMybatisMappingFile, 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
protected String deploymentName
protected org.springframework.core.io.Resource[] deploymentResources
protected String deploymentMode
protected final Object lifeCycleMonitor
protected volatile boolean running
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.AbstractEngineConfigurationprotected AutoDeploymentStrategy 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 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 org.flowable.common.spring.SpringEngineConfigurationgetPhase in interface org.springframework.context.PhasedgetPhase in interface org.springframework.context.SmartLifecyclepublic ContentEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class ContentEngineConfigurationprotected void autoDeployResources(ContentEngine contentEngine)
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in interface org.flowable.common.spring.SpringEngineConfigurationpublic void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
setTransactionManager in interface org.flowable.common.spring.SpringEngineConfigurationpublic org.springframework.context.ApplicationContext getApplicationContext()
getApplicationContext in interface org.flowable.common.spring.SpringEngineConfigurationpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.flowable.common.spring.SpringEngineConfigurationsetApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic String getDeploymentName()
getDeploymentName in interface org.flowable.common.spring.SpringEngineConfigurationpublic void setDeploymentName(String deploymentName)
setDeploymentName in interface org.flowable.common.spring.SpringEngineConfigurationpublic org.springframework.core.io.Resource[] getDeploymentResources()
getDeploymentResources in interface org.flowable.common.spring.SpringEngineConfigurationpublic void setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources)
setDeploymentResources in interface org.flowable.common.spring.SpringEngineConfigurationpublic String getDeploymentMode()
getDeploymentMode in interface org.flowable.common.spring.SpringEngineConfigurationpublic void setDeploymentMode(String deploymentMode)
setDeploymentMode in interface org.flowable.common.spring.SpringEngineConfigurationpublic Collection<AutoDeploymentStrategy> getDeploymentStrategies()
public ContentEngineConfiguration setDeploymentStrategies(Collection<AutoDeploymentStrategy> deploymentStrategies)
Copyright © 2019. All rights reserved.