Package com.flowable.content.spring
Class SpringContentEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<ContentEngine>
com.flowable.content.engine.ContentEngineConfiguration
com.flowable.content.spring.SpringContentEngineConfiguration
- All Implemented Interfaces:
CoreContentEngineConfigurationApi,org.flowable.common.spring.SpringEngineConfiguration,org.flowable.content.api.ContentEngineConfigurationApi,Aware,ApplicationContextAware,Lifecycle,Phased,SmartLifecycle
public class SpringContentEngineConfiguration
extends ContentEngineConfiguration
implements org.flowable.common.spring.SpringEngineConfiguration
- Author:
- Tijs Rademakers, David Syer, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ApplicationContextprotected Stringprotected Stringprotected Resource[]protected final Objectstatic final intprotected booleanprotected PlatformTransactionManagerprotected IntegerFields inherited from class com.flowable.content.engine.ContentEngineConfiguration
addDefaultExceptionHandler, asyncExecutor, asyncExecutorActivate, asyncExecutorAllowCoreThreadTimeout, asyncExecutorConfiguration, asyncExecutorCorePoolSize, asyncExecutorExecuteAsyncRunnableFactory, asyncExecutorMaxPoolSize, asyncExecutorNumberOfRetries, asyncExecutorResetExpiredJobsMaxTimeout, asyncExecutorSecondsToWaitOnShutdown, asyncExecutorThreadFactory, asyncExecutorThreadKeepAliveTime, asyncExecutorThreadPoolQueue, asyncExecutorThreadPoolQueueSize, asyncFailedJobWaitTime, asyncHistoryExecutor, asyncTaskExecutor, changeTenantIdManager, contentAsyncHistoryManager, contentCryptoHandler, contentEngineName, contentItemContentObjectStorageMetadataProvider, contentItemDataManager, contentItemEntityManager, contentManagementService, contentRenditionManagers, contentRootFolder, contentService, contentStorages, createContentRootFolder, customAsyncRunnableExecutionExceptionHandlers, customJobHandlers, customPostVariableTypes, customPreVariableTypes, databaseContentObjectDataManager, databaseContentObjectEntityManager, DEFAULT_MYBATIS_MAPPING_FILE, DEFAULT_RENDITION_MANAGER_KEY, defaultFailedJobWaitTime, deploymentManager, documentDefinitionCache, documentDefinitionCacheLimit, documentDefinitionDataManager, documentDefinitionDeployer, documentDefinitionEntityManager, documentDeploymentDataManager, documentDeploymentEntityManager, documentRepositoryService, documentResourceConverter, documentResourceDataManager, documentResourceEntityManager, enginesBuild, executeServiceSchemaManagers, failedJobCommandFactory, handleContentEngineExecutorsAfterEngineCreate, internalJobManager, internalJobParentStateResolver, jobExecutionScope, jobHandlers, jobManager, jobServiceConfiguration, jsonVariableTypeTrackObjects, lockTimeAsyncJobWaitTime, metadataInstanceDataManager, metadataInstanceEntityManager, metadataService, renditionConverters, renditionEnhancers, renditionItemContentObjectStorageMetadataProvider, renditionItemDataManager, renditionItemEntityManager, renditionService, serializableVariableTypeTrackDeserializedObjects, shutdownAsyncTaskExecutor, variableTypesFields inherited from class org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration
postEngineBuildConsumer, runPostEngineBuildConsumerFields inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
additionalEventDispatchActions, additionalSchemaManagers, 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, variableLengthVerifier, xmlEncodingFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASEFields inherited from interface org.flowable.common.spring.SpringEngineConfiguration
PHASE_DELTA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidautoDeployResources(ContentEngine contentEngine) org.flowable.common.engine.impl.interceptor.CommandInterceptorprotected org.flowable.common.spring.AutoDeploymentStrategy<ContentEngine> Gets theAutoDeploymentStrategyfor the provided mode.Resource[]Collection<org.flowable.common.spring.AutoDeploymentStrategy<ContentEngine>> intgetPhase()voidvoidbooleanvoidsetApplicationContext(ApplicationContext applicationContext) setDataSource(DataSource dataSource) voidsetDeploymentMode(String deploymentMode) voidsetDeploymentName(String deploymentName) voidsetDeploymentResources(Resource[] deploymentResources) setDeploymentStrategies(Collection<org.flowable.common.spring.AutoDeploymentStrategy<ContentEngine>> deploymentStrategies) voidsetTransactionManager(PlatformTransactionManager transactionManager) voidsetTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) voidstart()voidstop()Methods inherited from class com.flowable.content.engine.ContentEngineConfiguration
addContentRenditionManager, addContentStorage, addRenditionItemEnhancer, createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromInputStream, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResource, createContentEngineConfigurationFromResourceDefault, createDbSqlSessionFactory, createEngine, createEngineSchemaManager, createPostEngineBuildConsumer, createStandaloneContentEngineConfiguration, createStandaloneInMemContentEngineConfiguration, getAsyncExecutor, getAsyncExecutorAsyncJobLockTimeInMillis, getAsyncExecutorConfiguration, getAsyncExecutorCorePoolSize, getAsyncExecutorDefaultAsyncJobAcquireWaitTime, getAsyncExecutorDefaultQueueSizeFullWaitTime, getAsyncExecutorDefaultTimerJobAcquireWaitTime, getAsyncExecutorExecuteAsyncRunnableFactory, getAsyncExecutorLockOwner, getAsyncExecutorMaxAsyncJobsDuePerAcquisition, getAsyncExecutorMaxPoolSize, getAsyncExecutorNumberOfRetries, getAsyncExecutorResetExpiredJobsInterval, getAsyncExecutorResetExpiredJobsMaxTimeout, getAsyncExecutorResetExpiredJobsPageSize, getAsyncExecutorSecondsToWaitOnShutdown, getAsyncExecutorTenantId, getAsyncExecutorThreadFactory, getAsyncExecutorThreadKeepAliveTime, getAsyncExecutorThreadPoolQueue, getAsyncExecutorThreadPoolQueueSize, getAsyncFailedJobWaitTime, getAsyncHistoryExecutor, getAsyncTaskExecutor, getChangeTenantIdManager, getContentAsyncHistoryManager, getContentCryptoHandler, getContentEngineConfiguration, getContentItemContentObjectStorageMetadataProvider, getContentItemDataManager, getContentItemEntityManager, getContentManagementService, getContentRenditionManager, getContentRootFolder, getContentService, getContentStorage, getContentStorages, 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, getJobServiceConfiguration, getLockTimeAsyncJobWaitTime, getMetadataInstanceDataManager, getMetadataInstanceEntityManager, getMetadataService, getMyBatisXmlConfigurationStream, getOrCreateAsyncExecutorConfiguration, getRenditionConverters, getRenditionItemContentObjectStorageMetadataProvider, getRenditionItemDataManager, getRenditionItemEnhancer, getRenditionItemEntityManager, getRenditionService, getVariableTypes, init, initAsyncExecutor, initAsyncTaskExecutor, initChangeTenantIdManager, initCommandExecutors, initContentRenditionManager, initContentStorage, initDataManagers, initDbSqlSessionFactory, initDbSqlSessionFactoryEntitySettings, initDeployers, initDeploymentManager, initDocumentDefinitionCache, initDocumentResourceConverter, initEntityManagers, initFailedJobCommandFactory, initJobHandlers, initJobServiceConfiguration, initMybatisTypeHandlers, initRenditionEnhancer, initServices, initSessionFactories, initVariableTypes, isAsyncExecutorActivate, isAsyncExecutorAllowCoreThreadTimeout, isAsyncExecutorAsyncJobAcquisitionEnabled, isAsyncExecutorResetExpiredJobsEnabled, isCreateContentRootFolder, isExecuteServiceSchemaManagers, isHandleContentEngineExecutorsAfterEngineCreate, isJsonVariableTypeTrackObjects, isShutdownAsyncTaskExecutor, setAsyncExecutor, setAsyncExecutorActivate, setAsyncExecutorAllowCoreThreadTimeout, setAsyncExecutorAsyncJobAcquisitionEnabled, setAsyncExecutorAsyncJobLockTimeInMillis, setAsyncExecutorConfiguration, setAsyncExecutorCorePoolSize, setAsyncExecutorDefaultAsyncJobAcquireWaitTime, setAsyncExecutorDefaultQueueSizeFullWaitTime, setAsyncExecutorDefaultTimerJobAcquireWaitTime, setAsyncExecutorExecuteAsyncRunnableFactory, setAsyncExecutorLockOwner, setAsyncExecutorMaxAsyncJobsDuePerAcquisition, setAsyncExecutorMaxPoolSize, setAsyncExecutorNumberOfRetries, setAsyncExecutorResetExpiredJobsEnabled, setAsyncExecutorResetExpiredJobsInterval, setAsyncExecutorResetExpiredJobsMaxTimeout, setAsyncExecutorResetExpiredJobsPageSize, setAsyncExecutorSecondsToWaitOnShutdown, setAsyncExecutorTenantId, setAsyncExecutorThreadFactory, setAsyncExecutorThreadKeepAliveTime, setAsyncExecutorThreadPoolQueue, setAsyncExecutorThreadPoolQueueSize, setAsyncFailedJobWaitTime, setAsyncHistoryExecutor, setAsyncTaskExecutor, setChangeTenantIdManager, setContentAsyncHistoryManager, setContentCryptoHandler, setContentItemContentObjectStorageMetadataProvider, setContentItemDataManager, setContentItemEntityManager, setContentManagementService, setContentRootFolder, setContentService, setContentStorages, 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, setHandleContentEngineExecutorsAfterEngineCreate, setInternalJobManager, setInternalJobParentStateResolver, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutionScope, setJobHandlers, setJobManager, setJobServiceConfiguration, setJsonVariableTypeTrackObjects, setLockTimeAsyncJobWaitTime, setMetadataInstanceDataManager, setMetadataInstanceEntityManager, setMetadataService, setObjectMapper, setRenditionConverters, setRenditionItemContentObjectStorageMetadataProvider, setRenditionItemDataManager, setRenditionItemEntityManager, setRenditionService, setSessionFactories, setShutdownAsyncTaskExecutor, setSqlSessionFactory, setTableDataManager, setTablePrefixIsSchema, setTransactionFactory, setUsingRelationalDatabase, setVariableTypesMethods inherited from class org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration
buildEngine, getPostEngineBuildConsumer, initPostEngineBuildConsumer, isRunPostEngineBuildConsumer, setPostEngineBuildConsumer, setRunPostEngineBuildConsumerMethods inherited from class org.flowable.common.engine.impl.AbstractEngineConfiguration
addAdditionalSchemaManager, addAgendaOperationExecutionListener, addConfigurator, addCustomPostCommandInterceptor, addCustomPreCommandInterceptor, addCustomSessionFactory, addEngineConfiguration, addEngineLifecycleListener, addEventRegistryEventConsumer, addServiceConfiguration, addSessionFactory, applyCustomMybatisCustomizations, close, configuratorsAfterInit, configuratorsBeforeInit, defaultInitDbSqlSessionFactoryEntitySettings, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, getAdditionalSchemaManagers, 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, getVariableLengthVerifier, getXmlEncoding, initAdditionalEventDispatchActions, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandInterceptors, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initObjectMapper, initSchemaCommandConfig, initSchemaManagementCommand, initSchemaManager, initSchemaManagerDatabaseConfigurationSessionFactory, 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, setAgendaOperationExecutionListeners, 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, setVariableLengthVerifier, setXmlEncodingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.spring.SpringEngineConfiguration
getBeans, isAutoStartup, stop
-
Field Details
-
PHASE
public static final int PHASE- See Also:
-
transactionManager
-
applicationContext
-
transactionSynchronizationAdapterOrder
-
deploymentName
-
deploymentResources
-
deploymentMode
-
lifeCycleMonitor
-
running
protected volatile boolean running
-
-
Constructor Details
-
SpringContentEngineConfiguration
public SpringContentEngineConfiguration()
-
-
Method Details
-
buildContentEngine
- Overrides:
buildContentEnginein classContentEngineConfiguration
-
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 classContentEngineConfiguration
-
initTransactionContextFactory
public void initTransactionContextFactory()- Overrides:
initTransactionContextFactoryin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getAutoDeploymentStrategy
protected org.flowable.common.spring.AutoDeploymentStrategy<ContentEngine> getAutoDeploymentStrategy(String mode) Gets theAutoDeploymentStrategyfor 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
-
start
public void start() -
stop
public void stop() -
isRunning
public boolean isRunning() -
getPhase
public int getPhase()- Specified by:
getPhasein interfacePhased- Specified by:
getPhasein interfaceSmartLifecycle- Specified by:
getPhasein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDataSource
- Overrides:
setDataSourcein classContentEngineConfiguration
-
autoDeployResources
-
getTransactionManager
- Specified by:
getTransactionManagerin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setTransactionManager
- Specified by:
setTransactionManagerin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getApplicationContext
- Specified by:
getApplicationContextin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setApplicationContext
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Specified by:
setApplicationContextin interfaceorg.flowable.common.spring.SpringEngineConfiguration- Throws:
BeansException
-
getDeploymentName
- Specified by:
getDeploymentNamein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentName
- Specified by:
setDeploymentNamein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getDeploymentResources
- Specified by:
getDeploymentResourcesin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentResources
- Specified by:
setDeploymentResourcesin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getDeploymentMode
- Specified by:
getDeploymentModein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentMode
- Specified by:
setDeploymentModein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getDeploymentStrategies
public Collection<org.flowable.common.spring.AutoDeploymentStrategy<ContentEngine>> getDeploymentStrategies() -
setDeploymentStrategies
public ContentEngineConfiguration setDeploymentStrategies(Collection<org.flowable.common.spring.AutoDeploymentStrategy<ContentEngine>> deploymentStrategies)
-