Package com.flowable.dataobject.engine
Class DataObjectEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<DataObjectEngine>
com.flowable.dataobject.engine.DataObjectEngineConfiguration
- All Implemented Interfaces:
DataObjectEngineConfigurationApi,org.flowable.common.engine.impl.HasVariableTypes,org.flowable.common.spring.SpringEngineConfiguration,Aware,ApplicationContextAware,Lifecycle,Phased,SmartLifecycle
public class DataObjectEngineConfiguration
extends org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<DataObjectEngine>
implements org.flowable.common.spring.SpringEngineConfiguration, DataObjectEngineConfigurationApi, org.flowable.common.engine.impl.HasVariableTypes
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ApplicationContextprotected booleanIf set totruethe liquibase changelog from theDataObjectSchemaDefinition(s) will be automatically updated during engine boot time.protected List<org.flowable.variable.api.types.VariableType> protected List<org.flowable.variable.api.types.VariableType> protected final DataObjectDataManagersprotected DataObjectDataDictionaryTypeFactoryprotected DataObjectDataSourceprotected Map<String, DataObjectDataSource> protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DataObjectDefinitionCacheEntry> protected intprotected DataObjectDefinitionDeployerprotected Stringprotected DataObjectManagementServiceprotected DataObjectRepositoryServiceprotected DataObjectResourceConverterprotected DataObjectRuntimeServiceprotected org.flowable.common.engine.impl.EngineDeployerstatic final Stringstatic final Stringprotected DataObjectDeploymentManagerprotected Stringprotected Stringprotected Resource[]protected Collection<org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>> protected booleanprotected final DataObjectEntityManagersprotected Stringprotected org.flowable.common.engine.impl.history.HistoryLevelprotected org.flowable.identitylink.service.IdentityLinkServiceConfigurationprotected booleanThis flag determines whether variables of the type 'json' and 'longJson' will be tracked.static final Stringprotected final Objectprotected org.flowable.common.engine.impl.tenant.ChangeTenantIdManagerstatic final intprotected booleanprotected booleanprotected DataObjectOperationsprotected PlatformTransactionManagerprotected Integerprotected org.flowable.variable.api.types.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(DataObjectEngine dataObjectEngine) protected DataObjectEngineprotected org.flowable.common.engine.impl.db.SchemaManagerprotected Consumer<DataObjectEngine> org.flowable.common.engine.impl.interceptor.CommandInterceptororg.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine> Gets theAutoDeploymentStrategyfor the provided mode.List<org.flowable.variable.api.types.VariableType> List<org.flowable.variable.api.types.VariableType> org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DataObjectDefinitionCacheEntry> intorg.flowable.common.engine.impl.EngineDeployerCollection<? extends org.flowable.common.engine.impl.EngineDeployer> Resource[]Collection<org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>> org.flowable.common.engine.impl.history.HistoryLevelorg.flowable.identitylink.service.IdentityLinkServiceConfigurationorg.flowable.common.engine.impl.tenant.ChangeTenantIdManagerintgetPhase()org.flowable.variable.api.types.VariableTypesprotected voidinit()voidvoidprotected voidprotected voidprotected voidprotected voidvoidprotected voidprotected voidvoidvoidprotected voidprotected voidvoidvoidvoidprotected org.flowable.identitylink.service.IdentityLinkServiceConfigurationbooleanbooleanbooleanbooleanvoidregisterDataObjectDataSource(DataObjectDataSource dataObjectDataSource) voidsetApplicationContext(ApplicationContext applicationContext) voidsetAutoUpdateDataObjectSchemaDefinitions(boolean autoUpdateDataObjectSchemaDefinitions) setCustomPostVariableTypes(List<org.flowable.variable.api.types.VariableType> customPostVariableTypes) setCustomPreVariableTypes(List<org.flowable.variable.api.types.VariableType> customPreVariableTypes) voidsetDataObjectDataDictionaryTypeFactory(DataObjectDataDictionaryTypeFactory dataObjectDataDictionaryTypeFactory) voidsetDataObjectDataSource(DataObjectDataSource dataObjectDataSource) setDataObjectDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DataObjectDefinitionCacheEntry> dataObjectDefinitionCache) setDataObjectDefinitionCacheLimit(int dataObjectDefinitionCacheLimit) setDataObjectDefinitionDeployer(DataObjectDefinitionDeployer dataObjectDefinitionDeployer) setDataObjectEngineName(String dataObjectEngineName) voidsetDataObjectManagementService(DataObjectManagementService dataObjectManagementService) voidsetDataObjectRepositoryService(DataObjectRepositoryService dataObjectRepositoryService) setDataObjectResourceConverter(DataObjectResourceConverter dataObjectResourceConverter) voidsetDataObjectRuntimeService(DataObjectRuntimeService dataObjectRuntimeService) voidsetDataObjectSchemaDefinitionDeployer(org.flowable.common.engine.impl.EngineDeployer dataObjectSchemaDefinitionDeployer) setDataSource(DataSource dataSource) setDeploymentManager(DataObjectDeploymentManager deploymentManager) voidsetDeploymentMode(String deploymentMode) voidsetDeploymentName(String deploymentName) voidsetDeploymentResources(Resource[] deploymentResources) voidsetDeploymentStrategies(Collection<org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>> deploymentStrategies) voidsetDisableDataObjectSchemaDefinitions(boolean disableDataObjectSchemaDefinitions) voidsetHistory(String history) voidsetHistoryLevel(org.flowable.common.engine.impl.history.HistoryLevel historyLevel) voidsetJsonVariableTypeTrackObjects(boolean jsonVariableTypeTrackObjects) voidsetMasterDataChangeTenantIdManager(org.flowable.common.engine.impl.tenant.ChangeTenantIdManager masterDataChangeTenantIdManager) voidsetServiceRegistryDataObjectOperations(DataObjectOperations serviceRegistryDataObjectOperations) voidsetTransactionManager(PlatformTransactionManager transactionManager) voidsetTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) setVariableTypes(org.flowable.variable.api.types.VariableTypes variableTypes) voidstart()voidstop()Methods 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, createDbSqlSessionFactory, 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, initCommandExecutors, initCommandInterceptors, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, 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, 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, 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
-
DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
-
DEFAULT_ENGINE_NAME
- See Also:
-
PHASE
public static final int PHASE- See Also:
-
KEY_DATA_OBJECT_ENGINE_CONFIG
- See Also:
-
dataObjectEngineName
-
dataObjectRepositoryService
-
dataObjectRuntimeService
-
dataObjectManagementService
-
dataObjectDataSource
-
dataObjectDataSources
-
serviceRegistryDataObjectOperations
-
masterDataChangeTenantIdManager
protected org.flowable.common.engine.impl.tenant.ChangeTenantIdManager masterDataChangeTenantIdManager -
dataManagers
-
entityManagers
-
transactionManager
-
transactionSynchronizationAdapterOrder
-
applicationContext
-
running
protected volatile boolean running -
dataObjectDefinitionDeployer
-
dataObjectSchemaDefinitionDeployer
protected org.flowable.common.engine.impl.EngineDeployer dataObjectSchemaDefinitionDeployer -
deploymentManager
-
dataObjectResourceConverter
-
dataObjectDataDictionaryTypeFactory
-
dataObjectDefinitionCacheLimit
protected int dataObjectDefinitionCacheLimit -
dataObjectDefinitionCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DataObjectDefinitionCacheEntry> dataObjectDefinitionCache -
variableTypes
protected org.flowable.variable.api.types.VariableTypes variableTypes -
customPreVariableTypes
-
customPostVariableTypes
-
serializableVariableTypeTrackDeserializedObjects
protected boolean serializableVariableTypeTrackDeserializedObjects -
deploymentName
-
deploymentResources
-
deploymentMode
-
deploymentStrategies
protected Collection<org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>> deploymentStrategies -
disableDataObjectSchemaDefinitions
protected boolean disableDataObjectSchemaDefinitions -
enginesBuild
-
lifeCycleMonitor
-
history
-
historyLevel
protected org.flowable.common.engine.impl.history.HistoryLevel historyLevel -
identityLinkServiceConfiguration
protected org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration -
autoUpdateDataObjectSchemaDefinitions
protected boolean autoUpdateDataObjectSchemaDefinitionsIf set totruethe liquibase changelog from theDataObjectSchemaDefinition(s) will be automatically updated during engine boot time. This property is usually OK to be set only during development time. -
jsonVariableTypeTrackObjects
protected boolean jsonVariableTypeTrackObjectsThis flag determines whether variables of the type 'json' and 'longJson' will be tracked.This means that, when true, in a JavaDelegate you can write:
And the changes to the JsonNode will be reflected in the database. Otherwise, a manual call to setVariable will be needed.JsonNode jsonNode = (JsonNode) execution.getVariable("customer"); customer.put("name", "Kermit");
-
-
Constructor Details
-
DataObjectEngineConfiguration
public DataObjectEngineConfiguration()
-
-
Method Details
-
getEngineCfgKey
- Specified by:
getEngineCfgKeyin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getEngineScopeType
- Specified by:
getEngineScopeTypein classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
createTransactionInterceptor
public org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()- Specified by:
createTransactionInterceptorin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDbSqlSessionFactoryEntitySettings
protected void initDbSqlSessionFactoryEntitySettings()- Specified by:
initDbSqlSessionFactoryEntitySettingsin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initVariableTypes
public void initVariableTypes() -
getMyBatisXmlConfigurationStream
- Specified by:
getMyBatisXmlConfigurationStreamin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getEngineName
- Specified by:
getEngineNamein classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
setTransactionSynchronizationAdapterOrder
public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) -
getDataManagers
-
getEntityManagers
-
getServiceRegistryDataObjectOperations
-
setServiceRegistryDataObjectOperations
public void setServiceRegistryDataObjectOperations(DataObjectOperations serviceRegistryDataObjectOperations) -
getMasterDataChangeTenantIdManager
public org.flowable.common.engine.impl.tenant.ChangeTenantIdManager getMasterDataChangeTenantIdManager() -
setMasterDataChangeTenantIdManager
public void setMasterDataChangeTenantIdManager(org.flowable.common.engine.impl.tenant.ChangeTenantIdManager masterDataChangeTenantIdManager) -
setDataSource
- Overrides:
setDataSourcein classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
buildDataObjectEngine
-
createEngine
- Specified by:
createEnginein classorg.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<DataObjectEngine>
-
createPostEngineBuildConsumer
- Specified by:
createPostEngineBuildConsumerin classorg.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<DataObjectEngine>
-
init
protected void init()- Specified by:
initin classorg.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<DataObjectEngine>
-
initSessionFactories
public void initSessionFactories()- Overrides:
initSessionFactoriesin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initServices
protected void initServices() -
initDataObjectDataSources
protected void initDataObjectDataSources() -
initChangeTenantIdManager
public void initChangeTenantIdManager() -
initTransactionContextFactory
public void initTransactionContextFactory()- Overrides:
initTransactionContextFactoryin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDefaultCommandConfig
public void initDefaultCommandConfig()- Overrides:
initDefaultCommandConfigin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDataManagers
public void initDataManagers()- Overrides:
initDataManagersin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initEntityManagers
public void initEntityManagers()- Overrides:
initEntityManagersin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initHistoryLevel
public void initHistoryLevel() -
createEngineSchemaManager
protected org.flowable.common.engine.impl.db.SchemaManager createEngineSchemaManager()- Specified by:
createEngineSchemaManagerin classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDeployers
protected void initDeployers() -
getDefaultDeployers
-
initDataObjectDefinitionCache
protected void initDataObjectDefinitionCache() -
initDataObjectResourceConverter
protected void initDataObjectResourceConverter() -
initDeploymentManager
protected void initDeploymentManager() -
initIdentityLinkServiceConfiguration
protected void initIdentityLinkServiceConfiguration() -
instantiateIdentityLinkServiceConfiguration
protected org.flowable.identitylink.service.IdentityLinkServiceConfiguration instantiateIdentityLinkServiceConfiguration() -
getTransactionManager
- Specified by:
getTransactionManagerin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setTransactionManager
- Specified by:
setTransactionManagerin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
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
-
isDisableDataObjectSchemaDefinitions
public boolean isDisableDataObjectSchemaDefinitions() -
setDisableDataObjectSchemaDefinitions
public void setDisableDataObjectSchemaDefinitions(boolean disableDataObjectSchemaDefinitions) -
getApplicationContext
- Specified by:
getApplicationContextin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setApplicationContext
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Specified by:
setApplicationContextin interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getDeploymentMode
- Specified by:
getDeploymentModein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentMode
- Specified by:
setDeploymentModein interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getDataObjectEngineName
-
setDataObjectEngineName
-
getDataObjectDefinitionDeployer
-
setDataObjectDefinitionDeployer
public DataObjectEngineConfiguration setDataObjectDefinitionDeployer(DataObjectDefinitionDeployer dataObjectDefinitionDeployer) -
getDataObjectSchemaDefinitionDeployer
public org.flowable.common.engine.impl.EngineDeployer getDataObjectSchemaDefinitionDeployer() -
setDataObjectSchemaDefinitionDeployer
public void setDataObjectSchemaDefinitionDeployer(org.flowable.common.engine.impl.EngineDeployer dataObjectSchemaDefinitionDeployer) -
getDeploymentManager
-
setDeploymentManager
public DataObjectEngineConfiguration setDeploymentManager(DataObjectDeploymentManager deploymentManager) -
getIdentityLinkServiceConfiguration
public org.flowable.identitylink.service.IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration() -
getDataObjectResourceConverter
-
setDataObjectResourceConverter
public DataObjectEngineConfiguration setDataObjectResourceConverter(DataObjectResourceConverter dataObjectResourceConverter) -
getDataObjectDefinitionCacheLimit
public int getDataObjectDefinitionCacheLimit() -
setDataObjectDefinitionCacheLimit
public DataObjectEngineConfiguration setDataObjectDefinitionCacheLimit(int dataObjectDefinitionCacheLimit) -
getDataObjectDefinitionCache
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DataObjectDefinitionCacheEntry> getDataObjectDefinitionCache() -
setDataObjectDefinitionCache
public DataObjectEngineConfiguration setDataObjectDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<DataObjectDefinitionCacheEntry> dataObjectDefinitionCache) -
getHistory
-
setHistory
-
getHistoryLevel
public org.flowable.common.engine.impl.history.HistoryLevel getHistoryLevel() -
setHistoryLevel
public void setHistoryLevel(org.flowable.common.engine.impl.history.HistoryLevel historyLevel) -
getVariableTypes
public org.flowable.variable.api.types.VariableTypes getVariableTypes()- Specified by:
getVariableTypesin interfaceorg.flowable.common.engine.impl.HasVariableTypes
-
setVariableTypes
public DataObjectEngineConfiguration setVariableTypes(org.flowable.variable.api.types.VariableTypes variableTypes) - Specified by:
setVariableTypesin interfaceorg.flowable.common.engine.impl.HasVariableTypes
-
getCustomPreVariableTypes
-
setCustomPreVariableTypes
public DataObjectEngineConfiguration setCustomPreVariableTypes(List<org.flowable.variable.api.types.VariableType> customPreVariableTypes) -
getCustomPostVariableTypes
-
setCustomPostVariableTypes
public DataObjectEngineConfiguration setCustomPostVariableTypes(List<org.flowable.variable.api.types.VariableType> customPostVariableTypes) -
getDeploymentStrategies
public Collection<org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>> getDeploymentStrategies() -
setDeploymentStrategies
public void setDeploymentStrategies(Collection<org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine>> deploymentStrategies) -
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
-
getDataObjectRepositoryService
- Specified by:
getDataObjectRepositoryServicein interfaceDataObjectEngineConfigurationApi
-
setDataObjectRepositoryService
-
getDataObjectRuntimeService
- Specified by:
getDataObjectRuntimeServicein interfaceDataObjectEngineConfigurationApi
-
isJsonVariableTypeTrackObjects
public boolean isJsonVariableTypeTrackObjects() -
setJsonVariableTypeTrackObjects
public void setJsonVariableTypeTrackObjects(boolean jsonVariableTypeTrackObjects) -
setDataObjectRuntimeService
-
getDataObjectManagementService
- Specified by:
getDataObjectManagementServicein interfaceDataObjectEngineConfigurationApi
-
setDataObjectManagementService
-
getDataObjectDataSource
- Specified by:
getDataObjectDataSourcein interfaceDataObjectEngineConfigurationApi
-
setDataObjectDataSource
-
getDataObjectDataSources
-
registerDataObjectDataSource
-
autoDeployResources
-
getAutoDeploymentStrategy
public org.flowable.common.spring.AutoDeploymentStrategy<DataObjectEngine> 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
-
isAutoUpdateDataObjectSchemaDefinitions
public boolean isAutoUpdateDataObjectSchemaDefinitions() -
setAutoUpdateDataObjectSchemaDefinitions
public void setAutoUpdateDataObjectSchemaDefinitions(boolean autoUpdateDataObjectSchemaDefinitions) -
getDataObjectDataDictionaryFactory
-
setDataObjectDataDictionaryTypeFactory
public void setDataObjectDataDictionaryTypeFactory(DataObjectDataDictionaryTypeFactory dataObjectDataDictionaryTypeFactory)
-