Package com.flowable.platform.engine
Class PlatformEngineConfiguration
- java.lang.Object
-
- org.flowable.common.engine.impl.AbstractEngineConfiguration
-
- com.flowable.platform.engine.PlatformEngineConfiguration
-
- All Implemented Interfaces:
PlatformEngineConfigurationApi
,SpringEngineConfiguration
,Aware
,ApplicationContextAware
,Lifecycle
,Phased
,SmartLifecycle
public class PlatformEngineConfiguration extends AbstractEngineConfiguration implements SpringEngineConfiguration, PlatformEngineConfigurationApi
- Author:
- Filip Hrisafov
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
additionalEventDispatchActions, 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
-
Fields inherited from interface com.flowable.platform.api.PlatformEngineConfigurationApi
KEY_PLATFORM_ENGINE_CONFIG
-
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Fields inherited from interface org.flowable.common.spring.SpringEngineConfiguration
PHASE, PHASE_DELTA
-
-
Constructor Summary
Constructors Constructor Description PlatformEngineConfiguration()
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
addConfigurator, addCustomSessionFactory, addEngineConfiguration, addEngineLifecycleListener, addEventRegistryEventConsumer, addServiceConfiguration, addSessionFactory, close, configuratorsAfterInit, configuratorsBeforeInit, createDbSqlSessionFactory, 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, initCommandExecutors, initCommandInterceptors, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, 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, 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, setTableDataManager, setTablePrefixIsSchema, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingRelationalDatabase, setUsingSchemaMgmt, setXmlEncoding
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.spring.SpringEngineConfiguration
getBeans, isAutoStartup, stop
-
-
-
-
Field Detail
-
DEFAULT_MYBATIS_MAPPING_FILE
public static final String DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
- Constant Field Values
-
DEFAULT_ENGINE_NAME
public static final String DEFAULT_ENGINE_NAME
- See Also:
- Constant Field Values
-
LIQUIBASE_CHANGELOG_PREFIX
public static final String LIQUIBASE_CHANGELOG_PREFIX
- See Also:
- Constant Field Values
-
platformEngineName
protected String platformEngineName
-
translationService
protected TranslationService translationService
-
commentService
protected CommentService commentService
-
configurationService
protected ConfigurationService configurationService
-
sequenceService
protected SequenceService sequenceService
-
migrationService
protected MigrationService migrationService
-
platformManagementService
protected PlatformManagementService platformManagementService
-
platformRepositoryService
protected PlatformRepositoryService platformRepositoryService
-
platformRuntimeService
protected PlatformRuntimeService platformRuntimeService
-
platformHistoryService
protected PlatformHistoryService platformHistoryService
-
languageConfigurationProvider
protected LanguageConfigurationProvider languageConfigurationProvider
-
systemConfigurationConfigurers
protected Map<String,SystemConfigurationConfigurer> systemConfigurationConfigurers
-
sequenceValueProvider
protected SequenceValueProvider sequenceValueProvider
-
lockBasedSequenceValueProviderProperties
protected LockBasedSequenceValueProviderProperties lockBasedSequenceValueProviderProperties
-
dataManagers
protected final PlatformDataManagers dataManagers
-
entityManagers
protected final PlatformEntityManagers entityManagers
-
translationChangeManager
protected TranslationChangeManager translationChangeManager
-
commentEventListener
protected CommentEventListener commentEventListener
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
historyJobHandlers
protected Map<String,HistoryJobHandler> historyJobHandlers
-
customHistoryJobHandlers
protected List<HistoryJobHandler> customHistoryJobHandlers
-
customHistoryJsonTransformers
protected List<HistoryJsonTransformer> customHistoryJsonTransformers
-
asyncHistoryExecutor
protected AsyncExecutor asyncHistoryExecutor
-
asyncHistoryTaskExecutor
protected TaskExecutor asyncHistoryTaskExecutor
-
asyncHistoryEnabled
protected boolean asyncHistoryEnabled
-
asyncHistoryExecutorActivate
protected boolean asyncHistoryExecutorActivate
-
asyncHistoryExecutorMessageQueueMode
protected boolean asyncHistoryExecutorMessageQueueMode
-
jobExecutionScope
protected String jobExecutionScope
-
isAsyncHistoryJsonGzipCompressionEnabled
protected boolean isAsyncHistoryJsonGzipCompressionEnabled
-
isAsyncHistoryJsonGroupingEnabled
protected boolean isAsyncHistoryJsonGroupingEnabled
-
asyncHistoryJsonGroupingThreshold
protected int asyncHistoryJsonGroupingThreshold
-
asyncHistoryExecutorConfiguration
protected AsyncJobExecutorConfiguration asyncHistoryExecutorConfiguration
-
asyncHistoryExecutorSecondsToWaitOnShutdown
protected int asyncHistoryExecutorSecondsToWaitOnShutdown
-
asyncHistoryExecutorNumberOfRetries
protected int asyncHistoryExecutorNumberOfRetries
-
asyncHistoryListener
protected AsyncHistoryListener asyncHistoryListener
-
identityLinkServiceConfiguration
protected IdentityLinkServiceConfiguration identityLinkServiceConfiguration
-
transactionManager
protected PlatformTransactionManager transactionManager
-
transactionSynchronizationAdapterOrder
protected Integer transactionSynchronizationAdapterOrder
-
applicationContext
protected ApplicationContext applicationContext
-
running
protected volatile boolean running
-
queryDefinitionDeployer
protected QueryDefinitionDeployer queryDefinitionDeployer
-
variableExtractorDefinitionDeployer
protected VariableExtractorDefinitionDeployer variableExtractorDefinitionDeployer
-
sequenceDefinitionDeployer
protected SequenceDefinitionDeployer sequenceDefinitionDeployer
-
deploymentManager
protected PlatformDeploymentManager deploymentManager
-
queryResourceConverter
protected QueryResourceConverter queryResourceConverter
-
variableExtractorResourceConverter
protected VariableExtractorResourceConverter variableExtractorResourceConverter
-
sequenceResourceConverter
protected SequenceResourceConverter sequenceResourceConverter
-
queryDefinitionCacheLimit
protected int queryDefinitionCacheLimit
-
queryDefinitionCache
protected DeploymentCache<QueryDefinitionCacheEntry> queryDefinitionCache
-
variableExtractorDefinitionCacheLimit
protected int variableExtractorDefinitionCacheLimit
-
variableExtractorDefinitionCache
protected DeploymentCache<VariableExtractorDefinitionCacheEntry> variableExtractorDefinitionCache
-
indexMappingVariableExtractorCacheHelperImpl
protected IndexMappingVariableExtractorCacheHelperImpl indexMappingVariableExtractorCacheHelperImpl
-
sequenceDefinitionCacheLimit
protected int sequenceDefinitionCacheLimit
-
sequenceDefinitionCache
protected DeploymentCache<SequenceDefinitionCacheEntry> sequenceDefinitionCache
-
deploymentName
protected String deploymentName
-
deploymentResources
protected Resource[] deploymentResources
-
deploymentMode
protected String deploymentMode
-
lifeCycleMonitor
protected final Object lifeCycleMonitor
-
history
protected String history
-
historyLevel
protected HistoryLevel historyLevel
-
migrateSubFolderItems
protected boolean migrateSubFolderItems
-
-
Method Detail
-
getEngineCfgKey
public String getEngineCfgKey()
- Specified by:
getEngineCfgKey
in classAbstractEngineConfiguration
-
getEngineScopeType
public String getEngineScopeType()
- Specified by:
getEngineScopeType
in classAbstractEngineConfiguration
-
createTransactionInterceptor
public CommandInterceptor createTransactionInterceptor()
- Specified by:
createTransactionInterceptor
in classAbstractEngineConfiguration
-
initDbSqlSessionFactoryEntitySettings
protected void initDbSqlSessionFactoryEntitySettings()
- Specified by:
initDbSqlSessionFactoryEntitySettings
in classAbstractEngineConfiguration
-
getMyBatisXmlConfigurationStream
public InputStream getMyBatisXmlConfigurationStream()
- Specified by:
getMyBatisXmlConfigurationStream
in classAbstractEngineConfiguration
-
getEngineName
public String getEngineName()
- Specified by:
getEngineName
in classAbstractEngineConfiguration
-
setTransactionSynchronizationAdapterOrder
public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder)
-
getDataManagers
public PlatformDataManagers getDataManagers()
-
getEntityManagers
public PlatformEntityManagers getEntityManagers()
-
getTranslationChangeManager
public TranslationChangeManager getTranslationChangeManager()
-
setTranslationChangeManager
public void setTranslationChangeManager(TranslationChangeManager translationChangeManager)
-
getCommentEventListener
public CommentEventListener getCommentEventListener()
-
setCommentEventListener
public void setCommentEventListener(CommentEventListener commentEventListener)
-
setDataSource
public PlatformEngineConfiguration setDataSource(DataSource dataSource)
- Overrides:
setDataSource
in classAbstractEngineConfiguration
-
buildPlatformEngine
public PlatformEngine buildPlatformEngine()
-
init
protected void init()
-
initSessionFactories
public void initSessionFactories()
- Overrides:
initSessionFactories
in classAbstractEngineConfiguration
-
initServices
protected void initServices()
-
initTransactionContextFactory
public void initTransactionContextFactory()
- Overrides:
initTransactionContextFactory
in classAbstractEngineConfiguration
-
initDefaultCommandConfig
public void initDefaultCommandConfig()
- Overrides:
initDefaultCommandConfig
in classAbstractEngineConfiguration
-
initDataManagers
public void initDataManagers()
- Overrides:
initDataManagers
in classAbstractEngineConfiguration
-
initEntityManagers
public void initEntityManagers()
- Overrides:
initEntityManagers
in classAbstractEngineConfiguration
-
initHistoryLevel
public void initHistoryLevel()
-
initHistoryJobHandlers
protected void initHistoryJobHandlers()
-
initDefaultHistoryJsonTransformers
protected List<HistoryJsonTransformer> initDefaultHistoryJsonTransformers()
-
configureJobServiceConfiguration
public void configureJobServiceConfiguration()
-
initJobServiceConfiguration
public void initJobServiceConfiguration()
-
initIdentityLinkServiceConfiguration
public void initIdentityLinkServiceConfiguration()
-
instantiateIdentityLinkServiceConfiguration
protected IdentityLinkServiceConfiguration instantiateIdentityLinkServiceConfiguration()
-
initAsyncHistoryExecutor
protected void initAsyncHistoryExecutor()
-
getOrCreateAsyncHistoryExecutorConfiguration
protected AsyncJobExecutorConfiguration getOrCreateAsyncHistoryExecutorConfiguration()
-
initAsyncHistorySessionFactory
protected void initAsyncHistorySessionFactory()
-
initDefaultAsyncHistoryListener
protected void initDefaultAsyncHistoryListener()
-
initAsyncHistoryTaskExecutor
protected void initAsyncHistoryTaskExecutor()
-
initSchemaManager
public void initSchemaManager()
- Overrides:
initSchemaManager
in classAbstractEngineConfiguration
-
initSchemaManagementCommand
public void initSchemaManagementCommand()
-
initDeployers
protected void initDeployers()
-
getDefaultDeployers
public Collection<? extends EngineDeployer> getDefaultDeployers()
-
initQueryDefinitionCache
protected void initQueryDefinitionCache()
-
initVariableExtractorDefinitionCache
protected void initVariableExtractorDefinitionCache()
-
initSequenceDefinitionCache
protected void initSequenceDefinitionCache()
-
initQueryResourceConverter
protected void initQueryResourceConverter()
-
initVariableExtractorResourceConverter
protected void initVariableExtractorResourceConverter()
-
initSequenceResourceConverter
protected void initSequenceResourceConverter()
-
initVariableExtractorCacheHelper
protected void initVariableExtractorCacheHelper()
-
initDeploymentManager
protected void initDeploymentManager()
-
getTransactionManager
public PlatformTransactionManager getTransactionManager()
- Specified by:
getTransactionManager
in interfaceSpringEngineConfiguration
-
setTransactionManager
public void setTransactionManager(PlatformTransactionManager transactionManager)
- Specified by:
setTransactionManager
in interfaceSpringEngineConfiguration
-
getDeploymentName
public String getDeploymentName()
- Specified by:
getDeploymentName
in interfaceSpringEngineConfiguration
-
setDeploymentName
public void setDeploymentName(String deploymentName)
- Specified by:
setDeploymentName
in interfaceSpringEngineConfiguration
-
getDeploymentResources
public Resource[] getDeploymentResources()
- Specified by:
getDeploymentResources
in interfaceSpringEngineConfiguration
-
setDeploymentResources
public void setDeploymentResources(Resource[] deploymentResources)
- Specified by:
setDeploymentResources
in interfaceSpringEngineConfiguration
-
getApplicationContext
public ApplicationContext getApplicationContext()
- Specified by:
getApplicationContext
in interfaceSpringEngineConfiguration
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Specified by:
setApplicationContext
in interfaceSpringEngineConfiguration
-
getDeploymentMode
public String getDeploymentMode()
- Specified by:
getDeploymentMode
in interfaceSpringEngineConfiguration
-
setDeploymentMode
public void setDeploymentMode(String deploymentMode)
- Specified by:
setDeploymentMode
in interfaceSpringEngineConfiguration
-
getPlatformEngineName
public String getPlatformEngineName()
-
setPlatformEngineName
public void setPlatformEngineName(String platformEngineName)
-
getHistory
public String getHistory()
-
setHistory
public void setHistory(String history)
-
getHistoryLevel
public HistoryLevel getHistoryLevel()
-
setHistoryLevel
public void setHistoryLevel(HistoryLevel historyLevel)
-
getJobServiceConfiguration
public JobServiceConfiguration getJobServiceConfiguration()
-
setJobServiceConfiguration
public void setJobServiceConfiguration(JobServiceConfiguration jobServiceConfiguration)
-
getHistoryJobHandlers
public Map<String,HistoryJobHandler> getHistoryJobHandlers()
-
setHistoryJobHandlers
public void setHistoryJobHandlers(Map<String,HistoryJobHandler> historyJobHandlers)
-
getAsyncHistoryExecutor
public AsyncExecutor getAsyncHistoryExecutor()
-
setAsyncHistoryExecutor
public void setAsyncHistoryExecutor(AsyncExecutor asyncHistoryExecutor)
-
getAsyncHistoryTaskExecutor
public TaskExecutor getAsyncHistoryTaskExecutor()
-
setAsyncHistoryTaskExecutor
public void setAsyncHistoryTaskExecutor(TaskExecutor asyncHistoryTaskExecutor)
-
isAsyncHistoryEnabled
public boolean isAsyncHistoryEnabled()
-
setAsyncHistoryEnabled
public void setAsyncHistoryEnabled(boolean asyncHistoryEnabled)
-
isAsyncHistoryExecutorActivate
public boolean isAsyncHistoryExecutorActivate()
-
setAsyncHistoryExecutorActivate
public void setAsyncHistoryExecutorActivate(boolean asyncHistoryExecutorActivate)
-
isAsyncHistoryExecutorMessageQueueMode
public boolean isAsyncHistoryExecutorMessageQueueMode()
-
setAsyncHistoryExecutorMessageQueueMode
public void setAsyncHistoryExecutorMessageQueueMode(boolean asyncHistoryExecutorMessageQueueMode)
-
getJobExecutionScope
public String getJobExecutionScope()
-
setJobExecutionScope
public void setJobExecutionScope(String jobExecutionScope)
-
isAsyncHistoryJsonGzipCompressionEnabled
public boolean isAsyncHistoryJsonGzipCompressionEnabled()
-
setAsyncHistoryJsonGzipCompressionEnabled
public void setAsyncHistoryJsonGzipCompressionEnabled(boolean asyncHistoryJsonGzipCompressionEnabled)
-
isAsyncHistoryJsonGroupingEnabled
public boolean isAsyncHistoryJsonGroupingEnabled()
-
setAsyncHistoryJsonGroupingEnabled
public void setAsyncHistoryJsonGroupingEnabled(boolean asyncHistoryJsonGroupingEnabled)
-
getAsyncHistoryJsonGroupingThreshold
public int getAsyncHistoryJsonGroupingThreshold()
-
setAsyncHistoryJsonGroupingThreshold
public void setAsyncHistoryJsonGroupingThreshold(int asyncHistoryJsonGroupingThreshold)
-
getAsyncHistoryExecutorConfiguration
public AsyncJobExecutorConfiguration getAsyncHistoryExecutorConfiguration()
-
setAsyncHistoryExecutorConfiguration
public PlatformEngineConfiguration setAsyncHistoryExecutorConfiguration(AsyncJobExecutorConfiguration asyncHistoryExecutorConfiguration)
-
isAsyncHistoryExecutorAsyncJobAcquisitionEnabled
@Deprecated public boolean isAsyncHistoryExecutorAsyncJobAcquisitionEnabled()
-
setAsyncHistoryExecutorAsyncJobAcquisitionEnabled
@Deprecated public void setAsyncHistoryExecutorAsyncJobAcquisitionEnabled(boolean asyncHistoryExecutorAsyncJobAcquisitionEnabled)
-
isAsyncHistoryExecutorResetExpiredJobsEnabled
@Deprecated public boolean isAsyncHistoryExecutorResetExpiredJobsEnabled()
-
setAsyncHistoryExecutorResetExpiredJobsEnabled
@Deprecated public void setAsyncHistoryExecutorResetExpiredJobsEnabled(boolean asyncHistoryExecutorResetExpiredJobsEnabled)
-
getAsyncHistoryExecutorDefaultAsyncJobAcquireWaitTime
@Deprecated public int getAsyncHistoryExecutorDefaultAsyncJobAcquireWaitTime()
-
setAsyncHistoryExecutorDefaultAsyncJobAcquireWaitTime
@Deprecated public void setAsyncHistoryExecutorDefaultAsyncJobAcquireWaitTime(int asyncHistoryExecutorDefaultAsyncJobAcquireWaitTime)
-
getAsyncHistoryExecutorDefaultQueueSizeFullWaitTime
@Deprecated public int getAsyncHistoryExecutorDefaultQueueSizeFullWaitTime()
-
setAsyncHistoryExecutorDefaultQueueSizeFullWaitTime
@Deprecated public void setAsyncHistoryExecutorDefaultQueueSizeFullWaitTime(int asyncHistoryExecutorDefaultQueueSizeFullWaitTime)
-
getAsyncHistoryExecutorLockOwner
@Deprecated public String getAsyncHistoryExecutorLockOwner()
Deprecated.
-
setAsyncHistoryExecutorLockOwner
@Deprecated public void setAsyncHistoryExecutorLockOwner(String asyncHistoryExecutorLockOwner)
-
getAsyncHistoryExecutorAsyncJobLockTimeInMillis
@Deprecated public int getAsyncHistoryExecutorAsyncJobLockTimeInMillis()
-
setAsyncHistoryExecutorAsyncJobLockTimeInMillis
@Deprecated public void setAsyncHistoryExecutorAsyncJobLockTimeInMillis(int asyncHistoryExecutorAsyncJobLockTimeInMillis)
-
getAsyncHistoryExecutorResetExpiredJobsInterval
@Deprecated public int getAsyncHistoryExecutorResetExpiredJobsInterval()
-
setAsyncHistoryExecutorResetExpiredJobsInterval
@Deprecated public void setAsyncHistoryExecutorResetExpiredJobsInterval(int asyncHistoryExecutorResetExpiredJobsInterval)
-
getAsyncHistoryExecutorResetExpiredJobsPageSize
@Deprecated public int getAsyncHistoryExecutorResetExpiredJobsPageSize()
-
setAsyncHistoryExecutorResetExpiredJobsPageSize
@Deprecated public void setAsyncHistoryExecutorResetExpiredJobsPageSize(int asyncHistoryExecutorResetExpiredJobsPageSize)
-
getAsyncHistoryExecutorSecondsToWaitOnShutdown
public int getAsyncHistoryExecutorSecondsToWaitOnShutdown()
-
setAsyncHistoryExecutorSecondsToWaitOnShutdown
public void setAsyncHistoryExecutorSecondsToWaitOnShutdown(int asyncHistoryExecutorSecondsToWaitOnShutdown)
-
getAsyncHistoryExecutorNumberOfRetries
public int getAsyncHistoryExecutorNumberOfRetries()
-
setAsyncHistoryExecutorNumberOfRetries
public void setAsyncHistoryExecutorNumberOfRetries(int asyncHistoryExecutorNumberOfRetries)
-
getAsyncHistoryListener
public AsyncHistoryListener getAsyncHistoryListener()
-
setAsyncHistoryListener
public void setAsyncHistoryListener(AsyncHistoryListener asyncHistoryListener)
-
getCustomHistoryJobHandlers
public List<HistoryJobHandler> getCustomHistoryJobHandlers()
-
setCustomHistoryJobHandlers
public void setCustomHistoryJobHandlers(List<HistoryJobHandler> customHistoryJobHandlers)
-
getCustomHistoryJsonTransformers
public List<HistoryJsonTransformer> getCustomHistoryJsonTransformers()
-
setCustomHistoryJsonTransformers
public void setCustomHistoryJsonTransformers(List<HistoryJsonTransformer> customHistoryJsonTransformers)
-
isMigrateSubFolderItems
public boolean isMigrateSubFolderItems()
-
setMigrateSubFolderItems
public void setMigrateSubFolderItems(boolean migrateSubFolderItems)
-
getIdentityLinkServiceConfiguration
public IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration()
-
setIdentityLinkServiceConfiguration
public void setIdentityLinkServiceConfiguration(IdentityLinkServiceConfiguration identityLinkServiceConfiguration)
-
getPhase
public int getPhase()
- Specified by:
getPhase
in interfacePhased
- Specified by:
getPhase
in interfaceSmartLifecycle
- Specified by:
getPhase
in interfaceSpringEngineConfiguration
-
autoDeployResources
protected void autoDeployResources(PlatformEngine platformEngine)
-
getLanguageConfigurationProvider
public LanguageConfigurationProvider getLanguageConfigurationProvider()
-
setLanguageConfigurationProvider
public void setLanguageConfigurationProvider(LanguageConfigurationProvider languageConfigurationProvider)
-
getSystemConfigurationConfigurers
public Map<String,SystemConfigurationConfigurer> getSystemConfigurationConfigurers()
-
getSequenceValueProvider
public SequenceValueProvider getSequenceValueProvider()
-
setSequenceValueProvider
public void setSequenceValueProvider(SequenceValueProvider sequenceValueProvider)
-
getLockBasedSequenceValueProviderProperties
public LockBasedSequenceValueProviderProperties getLockBasedSequenceValueProviderProperties()
-
setLockBasedSequenceValueProviderProperties
public void setLockBasedSequenceValueProviderProperties(LockBasedSequenceValueProviderProperties lockBasedSequenceValueProviderProperties)
-
addSystemConfigurationConfigurer
public void addSystemConfigurationConfigurer(SystemConfigurationConfigurer systemConfigurationConfigurer)
-
setSystemConfigurationConfigurers
public void setSystemConfigurationConfigurers(Collection<SystemConfigurationConfigurer> systemConfigurationConfigurers)
-
getTranslationService
public TranslationService getTranslationService()
- Specified by:
getTranslationService
in interfacePlatformEngineConfigurationApi
-
setTranslationService
public void setTranslationService(TranslationService translationService)
-
getCommentService
public CommentService getCommentService()
- Specified by:
getCommentService
in interfacePlatformEngineConfigurationApi
-
setCommentService
public void setCommentService(CommentService commentService)
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Specified by:
getConfigurationService
in interfacePlatformEngineConfigurationApi
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getSequenceService
public SequenceService getSequenceService()
- Specified by:
getSequenceService
in interfacePlatformEngineConfigurationApi
-
setSequenceService
public void setSequenceService(SequenceService sequenceService)
-
getMigrationService
public MigrationService getMigrationService()
- Specified by:
getMigrationService
in interfacePlatformEngineConfigurationApi
-
setMigrationService
public void setMigrationService(MigrationService migrationService)
-
getPlatformManagementService
public PlatformManagementService getPlatformManagementService()
- Specified by:
getPlatformManagementService
in interfacePlatformEngineConfigurationApi
-
setPlatformManagementService
public void setPlatformManagementService(PlatformManagementService platformManagementService)
-
getPlatformRepositoryService
public PlatformRepositoryService getPlatformRepositoryService()
- Specified by:
getPlatformRepositoryService
in interfacePlatformEngineConfigurationApi
-
setPlatformRepositoryService
public void setPlatformRepositoryService(PlatformRepositoryService platformRepositoryService)
-
getPlatformRuntimeService
public PlatformRuntimeService getPlatformRuntimeService()
- Specified by:
getPlatformRuntimeService
in interfacePlatformEngineConfigurationApi
-
setPlatformRuntimeService
public void setPlatformRuntimeService(PlatformRuntimeService platformRuntimeService)
-
getPlatformHistoryService
public PlatformHistoryService getPlatformHistoryService()
- Specified by:
getPlatformHistoryService
in interfacePlatformEngineConfigurationApi
-
setPlatformHistoryService
public void setPlatformHistoryService(PlatformHistoryService platformHistoryService)
-
getDeploymentManager
public PlatformDeploymentManager getDeploymentManager()
-
setDeploymentManager
public void setDeploymentManager(PlatformDeploymentManager deploymentManager)
-
getQueryDefinitionDeployer
public QueryDefinitionDeployer getQueryDefinitionDeployer()
-
setQueryDefinitionDeployer
public void setQueryDefinitionDeployer(QueryDefinitionDeployer queryDefinitionDeployer)
-
getVariableExtractorDefinitionDeployer
public VariableExtractorDefinitionDeployer getVariableExtractorDefinitionDeployer()
-
setVariableExtractorDefinitionDeployer
public void setVariableExtractorDefinitionDeployer(VariableExtractorDefinitionDeployer variableExtractorDefinitionDeployer)
-
getSequenceDefinitionDeployer
public SequenceDefinitionDeployer getSequenceDefinitionDeployer()
-
setSequenceDefinitionDeployer
public void setSequenceDefinitionDeployer(SequenceDefinitionDeployer sequenceDefinitionDeployer)
-
getQueryResourceConverter
public QueryResourceConverter getQueryResourceConverter()
-
setQueryResourceConverter
public void setQueryResourceConverter(QueryResourceConverter queryResourceConverter)
-
getVariableExtractorResourceConverter
public VariableExtractorResourceConverter getVariableExtractorResourceConverter()
-
setVariableExtractorResourceConverter
public void setVariableExtractorResourceConverter(VariableExtractorResourceConverter variableExtractorResourceConverter)
-
getSequenceResourceConverter
public SequenceResourceConverter getSequenceResourceConverter()
-
setSequenceResourceConverter
public void setSequenceResourceConverter(SequenceResourceConverter sequenceResourceConverter)
-
getQueryDefinitionCacheLimit
public int getQueryDefinitionCacheLimit()
-
setQueryDefinitionCacheLimit
public void setQueryDefinitionCacheLimit(int queryDefinitionCacheLimit)
-
getVariableExtractorDefinitionCacheLimit
public int getVariableExtractorDefinitionCacheLimit()
-
setVariableExtractorDefinitionCacheLimit
public void setVariableExtractorDefinitionCacheLimit(int variableExtractorDefinitionCacheLimit)
-
getQueryDefinitionCache
public DeploymentCache<QueryDefinitionCacheEntry> getQueryDefinitionCache()
-
setQueryDefinitionCache
public void setQueryDefinitionCache(DeploymentCache<QueryDefinitionCacheEntry> queryDefinitionCache)
-
getVariableExtractorDefinitionCache
public DeploymentCache<VariableExtractorDefinitionCacheEntry> getVariableExtractorDefinitionCache()
-
setVariableExtractorDefinitionCache
public void setVariableExtractorDefinitionCache(DeploymentCache<VariableExtractorDefinitionCacheEntry> variableExtractorDefinitionCache)
-
getIndexMappingVariableExtractorCacheHelper
public IndexMappingVariableExtractorCacheHelperImpl getIndexMappingVariableExtractorCacheHelper()
-
setIndexMappingVariableExtractorCacheHelper
public void setIndexMappingVariableExtractorCacheHelper(IndexMappingVariableExtractorCacheHelperImpl indexMappingVariableExtractorCacheHelperImpl)
-
getSequenceDefinitionCacheLimit
public int getSequenceDefinitionCacheLimit()
-
setSequenceDefinitionCacheLimit
public void setSequenceDefinitionCacheLimit(int sequenceDefinitionCacheLimit)
-
getSequenceDefinitionCache
public DeploymentCache<SequenceDefinitionCacheEntry> getSequenceDefinitionCache()
-
setSequenceDefinitionCache
public void setSequenceDefinitionCache(DeploymentCache<SequenceDefinitionCacheEntry> sequenceDefinitionCache)
-
getDeploymentStrategies
public Collection<AutoDeploymentStrategy<PlatformEngine>> getDeploymentStrategies()
-
setDeploymentStrategies
public void setDeploymentStrategies(Collection<AutoDeploymentStrategy<PlatformEngine>> deploymentStrategies)
-
getAutoDeploymentStrategy
public AutoDeploymentStrategy<PlatformEngine> getAutoDeploymentStrategy(String mode)
Gets theAutoDeploymentStrategy
for the provided mode. This method may be overridden to implement custom deployment strategies if required, but implementors should take care not to returnnull
.- Parameters:
mode
- the mode to get the strategy for- Returns:
- the deployment strategy to use for the mode. Never
null
-
-