public class SpringContentEngineConfiguration extends ContentEngineConfiguration implements SpringEngineConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationContext |
applicationContext |
protected String |
deploymentMode |
protected String |
deploymentName |
protected Resource[] |
deploymentResources |
protected Object |
lifeCycleMonitor |
protected boolean |
running |
protected PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
addDefaultExceptionHandler, asyncExecutor, asyncExecutorActivate, asyncExecutorAllowCoreThreadTimeout, asyncExecutorAsyncJobLockTimeInMillis, asyncExecutorCorePoolSize, asyncExecutorDefaultAsyncJobAcquireWaitTime, asyncExecutorDefaultQueueSizeFullWaitTime, asyncExecutorDefaultTimerJobAcquireWaitTime, asyncExecutorExecuteAsyncRunnableFactory, asyncExecutorLockOwner, asyncExecutorMaxAsyncJobsDuePerAcquisition, asyncExecutorMaxPoolSize, asyncExecutorMessageQueueMode, asyncExecutorNumberOfRetries, asyncExecutorResetExpiredJobsInterval, asyncExecutorResetExpiredJobsMaxTimeout, asyncExecutorResetExpiredJobsPageSize, asyncExecutorSecondsToWaitOnShutdown, asyncExecutorTenantId, asyncExecutorThreadFactory, asyncExecutorThreadKeepAliveTime, asyncExecutorThreadPoolQueue, asyncExecutorThreadPoolQueueSize, asyncFailedJobWaitTime, asyncHistoryExecutor, asyncHistoryListener, asyncTaskExecutor, contentAsyncHistoryManager, contentCryptoHandler, contentEngineName, contentItemContentObjectStorageMetadataProvider, 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, handleContentEngineExecutorsAfterEngineCreate, internalJobManager, internalJobParentStateResolver, isAsyncExecutorAsyncJobAcquisitionEnabled, isAsyncExecutorResetExpiredJobsEnabled, isAsyncHistoryEnabled, jobExecutionScope, jobHandlers, jobManager, jobSchemaManager, jobServiceConfiguration, jsonVariableTypeTrackObjects, LIQUIBASE_CHANGELOG_PREFIX, lockTimeAsyncJobWaitTime, LOGGER, metadataInstanceDataManager, metadataInstanceEntityManager, metadataService, renditionConverters, renditionItemContentObjectStorageMetadataProvider, renditionItemDataManager, renditionItemEntityManager, renditionService, serializableVariableTypeTrackDeserializedObjects, shutdownAsyncTaskExecutor, variableTypesadditionalEventDispatchActions, 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, xmlEncodingPHASE, PHASE_DELTADEFAULT_PHASE| Constructor and Description |
|---|
SpringContentEngineConfiguration() |
createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResourceDefault, createDbSqlSessionFactory, createStandaloneContentEngineConfiguration, createStandaloneInMemContentEngineConfiguration, getAsyncExecutor, getAsyncExecutorAsyncJobLockTimeInMillis, getAsyncExecutorCorePoolSize, getAsyncExecutorDefaultAsyncJobAcquireWaitTime, getAsyncExecutorDefaultQueueSizeFullWaitTime, getAsyncExecutorDefaultTimerJobAcquireWaitTime, getAsyncExecutorExecuteAsyncRunnableFactory, getAsyncExecutorLockOwner, getAsyncExecutorMaxAsyncJobsDuePerAcquisition, getAsyncExecutorMaxPoolSize, getAsyncExecutorNumberOfRetries, getAsyncExecutorResetExpiredJobsInterval, getAsyncExecutorResetExpiredJobsMaxTimeout, getAsyncExecutorResetExpiredJobsPageSize, getAsyncExecutorSecondsToWaitOnShutdown, getAsyncExecutorTenantId, getAsyncExecutorThreadFactory, getAsyncExecutorThreadKeepAliveTime, getAsyncExecutorThreadPoolQueue, getAsyncExecutorThreadPoolQueueSize, getAsyncFailedJobWaitTime, getAsyncHistoryExecutor, getAsyncHistoryListener, getAsyncTaskExecutor, getContentAsyncHistoryManager, getContentCryptoHandler, getContentEngineConfiguration, getContentItemContentObjectStorageMetadataProvider, 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, getEngineScopeType, getFailedJobCommandFactory, getInternalJobManager, getInternalJobParentStateResolver, getJobExecutionScope, getJobHandlers, getJobManager, getJobSchemaManager, getJobServiceConfiguration, getLockTimeAsyncJobWaitTime, getMetadataInstanceDataManager, getMetadataInstanceEntityManager, getMetadataService, getMyBatisXmlConfigurationStream, getRenditionConverters, getRenditionItemContentObjectStorageMetadataProvider, getRenditionItemDataManager, getRenditionItemEntityManager, getRenditionService, getVariableTypes, init, initAsyncExecutor, initAsyncHistorySessionFactory, initAsyncTaskExecutor, initCommandExecutors, initCommandInterceptors, initCommonSchemaManager, initContentRenditionManager, initContentStorage, initDataManagers, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initDefaultAsyncHistoryListener, initDeployers, initDeploymentManager, initDocumentDefinitionCache, initDocumentResourceConverter, initEntityManagers, initFailedJobCommandFactory, initJobHandlers, initJobSchemaManager, initJobServiceConfiguration, initMybatisTypeHandlers, initSchemaManagementCommand, initSchemaManager, initServices, initSessionFactories, initVariableTypes, isAsyncExecutorActivate, isAsyncExecutorAllowCoreThreadTimeout, isAsyncExecutorAsyncJobAcquisitionEnabled, isAsyncExecutorMessageQueueMode, isAsyncExecutorResetExpiredJobsEnabled, isAsyncHistoryEnabled, isCreateContentRootFolder, isExecuteServiceSchemaManagers, isJsonVariableTypeTrackObjects, isShutdownAsyncTaskExecutor, setAsyncExecutor, setAsyncExecutorActivate, setAsyncExecutorAllowCoreThreadTimeout, setAsyncExecutorAsyncJobAcquisitionEnabled, setAsyncExecutorAsyncJobLockTimeInMillis, setAsyncExecutorCorePoolSize, setAsyncExecutorDefaultAsyncJobAcquireWaitTime, setAsyncExecutorDefaultQueueSizeFullWaitTime, setAsyncExecutorDefaultTimerJobAcquireWaitTime, setAsyncExecutorExecuteAsyncRunnableFactory, setAsyncExecutorLockOwner, setAsyncExecutorMaxAsyncJobsDuePerAcquisition, setAsyncExecutorMaxPoolSize, setAsyncExecutorMessageQueueMode, setAsyncExecutorNumberOfRetries, setAsyncExecutorResetExpiredJobsEnabled, setAsyncExecutorResetExpiredJobsInterval, setAsyncExecutorResetExpiredJobsMaxTimeout, setAsyncExecutorResetExpiredJobsPageSize, setAsyncExecutorSecondsToWaitOnShutdown, setAsyncExecutorTenantId, setAsyncExecutorThreadFactory, setAsyncExecutorThreadKeepAliveTime, setAsyncExecutorThreadPoolQueue, setAsyncExecutorThreadPoolQueueSize, setAsyncFailedJobWaitTime, setAsyncHistoryEnabled, setAsyncHistoryExecutor, setAsyncHistoryListener, setAsyncTaskExecutor, setContentAsyncHistoryManager, setContentCryptoHandler, setContentItemContentObjectStorageMetadataProvider, 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, setJsonVariableTypeTrackObjects, setLockTimeAsyncJobWaitTime, setMetadataInstanceDataManager, setMetadataInstanceEntityManager, setMetadataService, setObjectMapper, setRenditionConverters, setRenditionItemContentObjectStorageMetadataProvider, setRenditionItemDataManager, setRenditionItemEntityManager, setRenditionService, setSessionFactories, setShutdownAsyncTaskExecutor, setSqlSessionFactory, setTableDataManager, setTablePrefixIsSchema, setTransactionFactory, setUsingRelationalDatabase, setVariableTypesaddConfigurator, 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, initObjectMapper, initSchemaCommandConfig, initService, 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, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setDatabaseWildcardEscapeCharacter, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDefaultTenantProvider, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEngineLifecycleListeners, setEventDispatcher, setEventListeners, setEventRegistryConfigurator, setEventRegistryEventConsumers, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdGenerator, setIdmEngineConfigurator, setLockPollRate, setLoggingListener, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setMybatisMappingFile, setPropertyDataManager, setPropertyEntityManager, setSchemaCommandConfig, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setTransactionContextFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingSchemaMgmt, setXmlEncodingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBeans, isAutoStartup, stopprotected PlatformTransactionManager transactionManager
protected ApplicationContext applicationContext
protected Integer transactionSynchronizationAdapterOrder
protected String deploymentName
protected 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 AbstractEngineConfigurationpublic CommandInterceptor createTransactionInterceptor()
createTransactionInterceptor in class ContentEngineConfigurationpublic void initTransactionContextFactory()
initTransactionContextFactory in class AbstractEngineConfigurationprotected AutoDeploymentStrategy<ContentEngine> 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 int getPhase()
getPhase in interface SpringEngineConfigurationgetPhase in interface PhasedgetPhase in interface SmartLifecyclepublic ContentEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class ContentEngineConfigurationprotected void autoDeployResources(ContentEngine contentEngine)
public PlatformTransactionManager getTransactionManager()
getTransactionManager in interface SpringEngineConfigurationpublic void setTransactionManager(PlatformTransactionManager transactionManager)
setTransactionManager in interface SpringEngineConfigurationpublic ApplicationContext getApplicationContext()
getApplicationContext in interface SpringEngineConfigurationpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface SpringEngineConfigurationsetApplicationContext in interface ApplicationContextAwareBeansExceptionpublic String getDeploymentName()
getDeploymentName in interface SpringEngineConfigurationpublic void setDeploymentName(String deploymentName)
setDeploymentName in interface SpringEngineConfigurationpublic Resource[] getDeploymentResources()
getDeploymentResources in interface SpringEngineConfigurationpublic void setDeploymentResources(Resource[] deploymentResources)
setDeploymentResources in interface SpringEngineConfigurationpublic String getDeploymentMode()
getDeploymentMode in interface SpringEngineConfigurationpublic void setDeploymentMode(String deploymentMode)
setDeploymentMode in interface SpringEngineConfigurationpublic Collection<AutoDeploymentStrategy<ContentEngine>> getDeploymentStrategies()
public ContentEngineConfiguration setDeploymentStrategies(Collection<AutoDeploymentStrategy<ContentEngine>> deploymentStrategies)