Package com.flowable.app.engine
Class AppEngineConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfiguration
org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<AppEngine>
com.flowable.app.engine.AppEngineConfiguration
- All Implemented Interfaces:
org.flowable.app.api.AppEngineConfigurationApi
,org.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
,org.flowable.common.engine.impl.HasVariableTypes
,org.flowable.common.spring.SpringEngineConfiguration
,Aware
,ApplicationContextAware
,Lifecycle
,Phased
,SmartLifecycle
- Direct Known Subclasses:
StandaloneInMemAppEngineConfiguration
public class AppEngineConfiguration
extends org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<AppEngine>
implements org.flowable.app.api.AppEngineConfigurationApi, org.flowable.common.spring.SpringEngineConfiguration, org.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration, org.flowable.common.engine.impl.HasVariableTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache
<AppDefinitionCacheEntry> protected int
protected AppDefinitionDataManager
protected AppDefinitionEntityManager
protected AppDeployer
protected AppDeploymentEntityManager
protected String
protected AppIncidentDataManager
protected AppIncidentEntityManager
protected ApplicationContext
protected CoreAppManagementService
protected CoreAppRepositoryService
protected CoreAppResourceConverter
protected AppResourceEntityManager
protected AppVariableDataManager
protected AppVariableEntityManager
protected org.flowable.common.engine.impl.calendar.BusinessCalendarManager
protected List
<org.flowable.variable.api.types.VariableType> protected List
<org.flowable.variable.api.types.VariableType> static final String
protected AppDeploymentDataManager
protected AppDeploymentManager
protected String
protected Resource[]
protected Collection
<org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>> protected boolean
protected boolean
protected boolean
protected org.flowable.common.engine.impl.el.ExpressionManager
protected Collection
<Consumer<org.flowable.common.engine.impl.el.ExpressionManager>> protected org.flowable.identitylink.service.IdentityLinkServiceConfiguration
protected boolean
Include the default tenant flow apps into all tenants.protected boolean
This flag determines whether variables of the type 'json' and 'longJson' will be tracked.protected final Object
protected PageDeploymentCache
protected int
protected PageDefinitionDataManager
protected PageDefinitionEntityManager
protected Collection
<org.flowable.common.engine.impl.javax.el.ELResolver> protected Collection
<org.flowable.common.engine.impl.javax.el.ELResolver> protected Collection
<org.flowable.common.engine.impl.javax.el.ELResolver> protected AppResourceDataManager
protected boolean
protected boolean
protected PlatformTransactionManager
protected Integer
protected org.flowable.variable.service.VariableServiceConfiguration
protected org.flowable.variable.api.types.VariableTypes
Fields inherited from class org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration
postEngineBuildConsumer, runPostEngineBuildConsumer
Fields 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, xmlEncoding
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.common.engine.impl.AbstractEngineConfiguration
addExpressionManagerConfigurer
(Consumer<org.flowable.common.engine.impl.el.ExpressionManager> configurer) addPostDefaultELResolver
(org.flowable.common.engine.impl.javax.el.ELResolver elResolver) addPreBeanELResolver
(org.flowable.common.engine.impl.javax.el.ELResolver elResolver) addPreDefaultELResolver
(org.flowable.common.engine.impl.javax.el.ELResolver elResolver) protected void
autoDeployResources
(AppEngine appEngine) void
static AppEngineConfiguration
createAppEngineConfigurationFromInputStream
(InputStream inputStream) static AppEngineConfiguration
createAppEngineConfigurationFromInputStream
(InputStream inputStream, String beanName) static AppEngineConfiguration
static AppEngineConfiguration
createAppEngineConfigurationFromResource
(String resource, String beanName) static AppEngineConfiguration
protected AppEngine
protected org.flowable.common.engine.impl.db.SchemaManager
static AppEngineConfiguration
static AppEngineConfiguration
org.flowable.common.engine.impl.interceptor.CommandInterceptor
org.flowable.common.engine.impl.persistence.deploy.DeploymentCache
<AppDefinitionCacheEntry> int
protected org.flowable.common.spring.AutoDeploymentStrategy
<AppEngine> Gets theAutoDeploymentStrategy
for the provided mode.org.flowable.common.engine.impl.calendar.BusinessCalendarManager
List
<org.flowable.variable.api.types.VariableType> List
<org.flowable.variable.api.types.VariableType> Collection
<? extends org.flowable.common.engine.impl.EngineDeployer> Resource[]
Collection
<org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>> protected List
<org.flowable.common.engine.impl.EngineConfigurator> org.flowable.common.engine.impl.el.ExpressionManager
org.flowable.identitylink.service.IdentityLinkServiceConfiguration
org.flowable.idm.api.IdmIdentityService
int
Collection
<org.flowable.common.engine.impl.javax.el.ELResolver> Collection
<org.flowable.common.engine.impl.javax.el.ELResolver> Collection
<org.flowable.common.engine.impl.javax.el.ELResolver> org.flowable.variable.service.VariableServiceConfiguration
org.flowable.variable.api.types.VariableTypes
protected void
init()
protected void
protected void
void
void
void
void
protected void
void
protected void
protected void
void
void
void
void
initMybatisTypeHandlers
(org.apache.ibatis.session.Configuration configuration) protected void
protected void
void
void
void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
setAppDefinitionCache
(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<AppDefinitionCacheEntry> appDefinitionCache) setAppDefinitionCacheLimit
(int appDefinitionCacheLimit) setAppDefinitionDataManager
(AppDefinitionDataManager appDefinitionDataManager) setAppDefinitionEntityManager
(AppDefinitionEntityManager appDefinitionEntityManager) setAppDeployer
(AppDeployer appDeployer) setAppDeploymentEntityManager
(AppDeploymentEntityManager appDeploymentEntityManager) setAppEngineName
(String appEngineName) setAppIncidentDataManager
(AppIncidentDataManager appIncidentDataManager) setAppIncidentEntityManager
(AppIncidentEntityManager appIncidentEntityManager) void
setApplicationContext
(ApplicationContext applicationContext) setAppManagementService
(CoreAppManagementService appManagementService) setAppRepositoryService
(CoreAppRepositoryService appRepositoryService) setAppResourceConverter
(CoreAppResourceConverter appResourceConverter) setAppResourceEntityManager
(AppResourceEntityManager appResourceEntityManager) setAppVariableDataManager
(AppVariableDataManager appVariableDataManager) setAppVariableEntityManager
(AppVariableEntityManager appVariableEntityManager) setBusinessCalendarManager
(org.flowable.common.engine.impl.calendar.BusinessCalendarManager businessCalendarManager) setCustomPostVariableTypes
(List<org.flowable.variable.api.types.VariableType> customPostVariableTypes) setCustomPreVariableTypes
(List<org.flowable.variable.api.types.VariableType> customPreVariableTypes) setDataSource
(DataSource dataSource) setDeploymentDataManager
(AppDeploymentDataManager deploymentDataManager) setDeploymentManager
(AppDeploymentManager deploymentManager) void
setDeploymentMode
(String deploymentMode) void
setDeploymentName
(String deploymentName) void
setDeploymentResources
(Resource[] deploymentResources) void
setDeploymentStrategies
(Collection<org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>> deploymentStrategies) setDisableEventRegistry
(boolean disableEventRegistry) setDisableIdmEngine
(boolean disableIdmEngine) void
setExecuteServiceSchemaManagers
(boolean executeServiceSchemaManagers) setExpressionManager
(org.flowable.common.engine.impl.el.ExpressionManager expressionManager) setIdentityLinkServiceConfiguration
(org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration) void
setIncludeDefaultTenantFlowApps
(boolean includeDefaultTenantFlowApps) setJsonVariableTypeTrackObjects
(boolean jsonVariableTypeTrackObjects) setObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) setPageDefinitionCache
(PageDeploymentCache pageDefinitionCache) setPageDefinitionCacheLimit
(int pageDefinitionCacheLimit) setPageDefinitionDataManager
(PageDefinitionDataManager pageDefinitionDataManager) setPageDefinitionEntityManager
(PageDefinitionEntityManager pageDefinitionEntityManager) setPostDefaultELResolvers
(Collection<org.flowable.common.engine.impl.javax.el.ELResolver> postDefaultELResolvers) setPreBeanELResolvers
(Collection<org.flowable.common.engine.impl.javax.el.ELResolver> preBeanELResolvers) setPreDefaultELResolvers
(Collection<org.flowable.common.engine.impl.javax.el.ELResolver> preDefaultELResolvers) setResourceDataManager
(AppResourceDataManager resourceDataManager) setSerializableVariableTypeTrackDeserializedObjects
(boolean serializableVariableTypeTrackDeserializedObjects) setTableDataManager
(org.flowable.common.engine.impl.persistence.entity.TableDataManager tableDataManager) void
setTransactionManager
(PlatformTransactionManager transactionManager) void
setTransactionSynchronizationAdapterOrder
(Integer transactionSynchronizationAdapterOrder) setVariableServiceConfiguration
(org.flowable.variable.service.VariableServiceConfiguration variableServiceConfiguration) setVariableTypes
(org.flowable.variable.api.types.VariableTypes variableTypes) void
start()
void
stop()
Methods inherited from class org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration
buildEngine, getPostEngineBuildConsumer, initPostEngineBuildConsumer, isRunPostEngineBuildConsumer, setPostEngineBuildConsumer, setRunPostEngineBuildConsumer
Methods 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, 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, initClock, initCommandContextFactory, initCommandExecutor, initCommandExecutors, initCommandInterceptors, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initObjectMapper, initSchemaCommandConfig, initSchemaManagementCommand, initSchemaManager, initSchemaManagerDatabaseConfigurationSessionFactory, initService, initSessionFactories, 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, setPropertyDataManager, setPropertyEntityManager, setSchemaCommandConfig, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setSessionFactories, setSqlSessionFactory, setTablePrefixIsSchema, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingRelationalDatabase, setUsingSchemaMgmt, setVariableLengthVerifier, 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, getPhase, isAutoStartup, stop
-
Field Details
-
DEFAULT_MYBATIS_MAPPING_FILE
- See Also:
-
appEngineName
-
appManagementService
-
appRepositoryService
-
deploymentDataManager
-
resourceDataManager
-
appDefinitionDataManager
-
pageDefinitionDataManager
-
appVariableDataManager
-
appIncidentDataManager
-
appDeploymentEntityManager
-
appResourceEntityManager
-
appDefinitionEntityManager
-
pageDefinitionEntityManager
-
appVariableEntityManager
-
appIncidentEntityManager
-
disableIdmEngine
protected boolean disableIdmEngine -
disableEventRegistry
protected boolean disableEventRegistry -
executeServiceSchemaManagers
protected boolean executeServiceSchemaManagers -
appDeployer
-
deploymentManager
-
appResourceConverter
-
appDefinitionCacheLimit
protected int appDefinitionCacheLimit -
pageDefinitionCacheLimit
protected int pageDefinitionCacheLimit -
appDefinitionCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<AppDefinitionCacheEntry> appDefinitionCache -
pageDefinitionCache
-
expressionManager
protected org.flowable.common.engine.impl.el.ExpressionManager expressionManager -
expressionManagerConfigurers
protected Collection<Consumer<org.flowable.common.engine.impl.el.ExpressionManager>> expressionManagerConfigurers -
preDefaultELResolvers
-
preBeanELResolvers
-
postDefaultELResolvers
-
transactionManager
-
deploymentResources
-
deploymentMode
-
applicationContext
-
transactionSynchronizationAdapterOrder
-
deploymentStrategies
protected Collection<org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>> deploymentStrategies -
running
protected volatile boolean running -
enginesBuild
-
lifeCycleMonitor
-
identityLinkServiceConfiguration
protected org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration -
variableTypes
protected org.flowable.variable.api.types.VariableTypes variableTypes -
customPreVariableTypes
-
customPostVariableTypes
-
variableServiceConfiguration
protected org.flowable.variable.service.VariableServiceConfiguration variableServiceConfiguration -
serializableVariableTypeTrackDeserializedObjects
protected boolean serializableVariableTypeTrackDeserializedObjects -
businessCalendarManager
protected org.flowable.common.engine.impl.calendar.BusinessCalendarManager businessCalendarManager -
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");
-
includeDefaultTenantFlowApps
protected boolean includeDefaultTenantFlowAppsInclude the default tenant flow apps into all tenants.
-
-
Constructor Details
-
AppEngineConfiguration
public AppEngineConfiguration()
-
-
Method Details
-
createAppEngineConfigurationFromResourceDefault
-
createAppEngineConfigurationFromResource
-
createAppEngineConfigurationFromResource
public static AppEngineConfiguration createAppEngineConfigurationFromResource(String resource, String beanName) -
createAppEngineConfigurationFromInputStream
public static AppEngineConfiguration createAppEngineConfigurationFromInputStream(InputStream inputStream) -
createAppEngineConfigurationFromInputStream
public static AppEngineConfiguration createAppEngineConfigurationFromInputStream(InputStream inputStream, String beanName) -
createStandaloneAppEngineConfiguration
-
createStandaloneInMemAppEngineConfiguration
-
buildAppEngine
-
createEngine
- Specified by:
createEngine
in classorg.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<AppEngine>
-
createPostEngineBuildConsumer
- Specified by:
createPostEngineBuildConsumer
in classorg.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<AppEngine>
-
init
protected void init()- Specified by:
init
in classorg.flowable.common.engine.impl.AbstractBuildableEngineConfiguration<AppEngine>
-
createEngineSchemaManager
protected org.flowable.common.engine.impl.db.SchemaManager createEngineSchemaManager()- Specified by:
createEngineSchemaManager
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initMybatisTypeHandlers
public void initMybatisTypeHandlers(org.apache.ibatis.session.Configuration configuration) - Overrides:
initMybatisTypeHandlers
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initBeans
public void initBeans()- Overrides:
initBeans
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initExpressionManager
public void initExpressionManager() -
initCommandInvoker
public void initCommandInvoker()- Overrides:
initCommandInvoker
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initServices
protected void initServices() -
initDataManagers
public void initDataManagers()- Overrides:
initDataManagers
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initEntityManagers
public void initEntityManagers()- Overrides:
initEntityManagers
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDeployers
protected void initDeployers() -
getDefaultDeployers
-
initAppDefinitionCache
protected void initAppDefinitionCache() -
initPageDefinitionCache
protected void initPageDefinitionCache() -
initAppResourceConverter
protected void initAppResourceConverter() -
initDeploymentManager
protected void initDeploymentManager() -
getEngineCfgKey
- Specified by:
getEngineCfgKey
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getEngineScopeType
- Specified by:
getEngineScopeType
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
createTransactionInterceptor
public org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()- Specified by:
createTransactionInterceptor
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDefaultCommandConfig
public void initDefaultCommandConfig()- Overrides:
initDefaultCommandConfig
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initTransactionContextFactory
public void initTransactionContextFactory()- Overrides:
initTransactionContextFactory
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
autoDeployResources
-
getMyBatisXmlConfigurationStream
- Specified by:
getMyBatisXmlConfigurationStream
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initDbSqlSessionFactoryEntitySettings
protected void initDbSqlSessionFactoryEntitySettings()- Specified by:
initDbSqlSessionFactoryEntitySettings
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
initVariableTypes
public void initVariableTypes() -
configureVariableServiceConfiguration
public void configureVariableServiceConfiguration() -
initVariableServiceConfiguration
public void initVariableServiceConfiguration() -
initIdentityLinkServiceConfiguration
public void initIdentityLinkServiceConfiguration() -
initBusinessCalendarManager
public void initBusinessCalendarManager() -
getEngineSpecificEngineConfigurators
protected List<org.flowable.common.engine.impl.EngineConfigurator> getEngineSpecificEngineConfigurators()- Overrides:
getEngineSpecificEngineConfigurators
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getEngineName
- Specified by:
getEngineName
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getAppEngineName
-
setAppEngineName
-
getAppManagementService
- Specified by:
getAppManagementService
in interfaceorg.flowable.app.api.AppEngineConfigurationApi
-
setAppManagementService
public AppEngineConfiguration setAppManagementService(CoreAppManagementService appManagementService) -
getAppRepositoryService
- Specified by:
getAppRepositoryService
in interfaceorg.flowable.app.api.AppEngineConfigurationApi
-
setAppRepositoryService
public AppEngineConfiguration setAppRepositoryService(CoreAppRepositoryService appRepositoryService) -
getIdmIdentityService
public org.flowable.idm.api.IdmIdentityService getIdmIdentityService() -
setTableDataManager
public AppEngineConfiguration setTableDataManager(org.flowable.common.engine.impl.persistence.entity.TableDataManager tableDataManager) - Overrides:
setTableDataManager
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
getDeploymentDataManager
-
setDeploymentDataManager
public AppEngineConfiguration setDeploymentDataManager(AppDeploymentDataManager deploymentDataManager) -
getResourceDataManager
-
setResourceDataManager
-
getAppDefinitionDataManager
-
setAppDefinitionDataManager
public AppEngineConfiguration setAppDefinitionDataManager(AppDefinitionDataManager appDefinitionDataManager) -
getPageDefinitionDataManager
-
setPageDefinitionDataManager
public AppEngineConfiguration setPageDefinitionDataManager(PageDefinitionDataManager pageDefinitionDataManager) -
getAppVariableDataManager
-
setAppVariableDataManager
public AppEngineConfiguration setAppVariableDataManager(AppVariableDataManager appVariableDataManager) -
getAppIncidentDataManager
-
setAppIncidentDataManager
public AppEngineConfiguration setAppIncidentDataManager(AppIncidentDataManager appIncidentDataManager) -
getAppDeploymentEntityManager
-
setAppDeploymentEntityManager
public AppEngineConfiguration setAppDeploymentEntityManager(AppDeploymentEntityManager appDeploymentEntityManager) -
getAppResourceEntityManager
-
setAppResourceEntityManager
public AppEngineConfiguration setAppResourceEntityManager(AppResourceEntityManager appResourceEntityManager) -
getAppDefinitionEntityManager
-
setAppDefinitionEntityManager
public AppEngineConfiguration setAppDefinitionEntityManager(AppDefinitionEntityManager appDefinitionEntityManager) -
getPageDefinitionEntityManager
-
setPageDefinitionEntityManager
public AppEngineConfiguration setPageDefinitionEntityManager(PageDefinitionEntityManager pageDefinitionEntityManager) -
getAppVariableEntityManager
-
setAppVariableEntityManager
public AppEngineConfiguration setAppVariableEntityManager(AppVariableEntityManager appVariableEntityManager) -
getAppIncidentEntityManager
-
setAppIncidentEntityManager
public AppEngineConfiguration setAppIncidentEntityManager(AppIncidentEntityManager appIncidentEntityManager) -
getAppDeployer
-
setAppDeployer
-
getAppResourceConverter
-
setAppResourceConverter
public AppEngineConfiguration setAppResourceConverter(CoreAppResourceConverter appResourceConverter) -
getDeploymentManager
-
setDeploymentManager
-
getAppDefinitionCacheLimit
public int getAppDefinitionCacheLimit() -
setAppDefinitionCacheLimit
-
getPageDefinitionCacheLimit
public int getPageDefinitionCacheLimit() -
setPageDefinitionCacheLimit
-
getAppDefinitionCache
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<AppDefinitionCacheEntry> getAppDefinitionCache() -
setAppDefinitionCache
public AppEngineConfiguration setAppDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<AppDefinitionCacheEntry> appDefinitionCache) -
getPageDefinitionCache
-
setPageDefinitionCache
-
setDataSource
- Overrides:
setDataSource
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
isExecuteServiceSchemaManagers
public boolean isExecuteServiceSchemaManagers() -
setExecuteServiceSchemaManagers
public void setExecuteServiceSchemaManagers(boolean executeServiceSchemaManagers) -
getExpressionManager
public org.flowable.common.engine.impl.el.ExpressionManager getExpressionManager()- Specified by:
getExpressionManager
in interfaceorg.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
-
setExpressionManager
public AppEngineConfiguration setExpressionManager(org.flowable.common.engine.impl.el.ExpressionManager expressionManager) - Specified by:
setExpressionManager
in interfaceorg.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
-
addExpressionManagerConfigurer
public org.flowable.common.engine.impl.AbstractEngineConfiguration addExpressionManagerConfigurer(Consumer<org.flowable.common.engine.impl.el.ExpressionManager> configurer) - Specified by:
addExpressionManagerConfigurer
in interfaceorg.flowable.common.engine.impl.HasExpressionManagerEngineConfiguration
-
getPreDefaultELResolvers
-
setPreDefaultELResolvers
public AppEngineConfiguration setPreDefaultELResolvers(Collection<org.flowable.common.engine.impl.javax.el.ELResolver> preDefaultELResolvers) -
addPreDefaultELResolver
public AppEngineConfiguration addPreDefaultELResolver(org.flowable.common.engine.impl.javax.el.ELResolver elResolver) -
getPreBeanELResolvers
-
setPreBeanELResolvers
public AppEngineConfiguration setPreBeanELResolvers(Collection<org.flowable.common.engine.impl.javax.el.ELResolver> preBeanELResolvers) -
addPreBeanELResolver
public AppEngineConfiguration addPreBeanELResolver(org.flowable.common.engine.impl.javax.el.ELResolver elResolver) -
getPostDefaultELResolvers
-
setPostDefaultELResolvers
public AppEngineConfiguration setPostDefaultELResolvers(Collection<org.flowable.common.engine.impl.javax.el.ELResolver> postDefaultELResolvers) -
addPostDefaultELResolver
public AppEngineConfiguration addPostDefaultELResolver(org.flowable.common.engine.impl.javax.el.ELResolver elResolver) -
getVariableTypes
public org.flowable.variable.api.types.VariableTypes getVariableTypes()- Specified by:
getVariableTypes
in interfaceorg.flowable.common.engine.impl.HasVariableTypes
-
setVariableTypes
public AppEngineConfiguration setVariableTypes(org.flowable.variable.api.types.VariableTypes variableTypes) - Specified by:
setVariableTypes
in interfaceorg.flowable.common.engine.impl.HasVariableTypes
-
getCustomPreVariableTypes
-
setCustomPreVariableTypes
public AppEngineConfiguration setCustomPreVariableTypes(List<org.flowable.variable.api.types.VariableType> customPreVariableTypes) -
getCustomPostVariableTypes
-
setCustomPostVariableTypes
public AppEngineConfiguration setCustomPostVariableTypes(List<org.flowable.variable.api.types.VariableType> customPostVariableTypes) -
getIdentityLinkServiceConfiguration
public org.flowable.identitylink.service.IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration() -
setIdentityLinkServiceConfiguration
public AppEngineConfiguration setIdentityLinkServiceConfiguration(org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration) -
getVariableServiceConfiguration
public org.flowable.variable.service.VariableServiceConfiguration getVariableServiceConfiguration() -
setVariableServiceConfiguration
public AppEngineConfiguration setVariableServiceConfiguration(org.flowable.variable.service.VariableServiceConfiguration variableServiceConfiguration) -
isSerializableVariableTypeTrackDeserializedObjects
public boolean isSerializableVariableTypeTrackDeserializedObjects() -
setSerializableVariableTypeTrackDeserializedObjects
public AppEngineConfiguration setSerializableVariableTypeTrackDeserializedObjects(boolean serializableVariableTypeTrackDeserializedObjects) -
setTransactionSynchronizationAdapterOrder
public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) -
getTransactionManager
- Specified by:
getTransactionManager
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setTransactionManager
- Specified by:
setTransactionManager
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getDeploymentResources
- Specified by:
getDeploymentResources
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentResources
- Specified by:
setDeploymentResources
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getApplicationContext
- Specified by:
getApplicationContext
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Specified by:
setApplicationContext
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
- Throws:
BeansException
-
getDeploymentMode
- Specified by:
getDeploymentMode
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentMode
- Specified by:
setDeploymentMode
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
getAutoDeploymentStrategy
protected org.flowable.common.spring.AutoDeploymentStrategy<AppEngine> 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
-
getDeploymentStrategies
public Collection<org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>> getDeploymentStrategies() -
setDeploymentStrategies
public void setDeploymentStrategies(Collection<org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>> deploymentStrategies) -
start
public void start() -
stop
public void stop() -
isRunning
public boolean isRunning() -
getDeploymentName
- Specified by:
getDeploymentName
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setDeploymentName
- Specified by:
setDeploymentName
in interfaceorg.flowable.common.spring.SpringEngineConfiguration
-
setObjectMapper
public AppEngineConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) - Overrides:
setObjectMapper
in classorg.flowable.common.engine.impl.AbstractEngineConfiguration
-
isDisableIdmEngine
public boolean isDisableIdmEngine() -
setDisableIdmEngine
-
isDisableEventRegistry
public boolean isDisableEventRegistry() -
setDisableEventRegistry
-
getBusinessCalendarManager
public org.flowable.common.engine.impl.calendar.BusinessCalendarManager getBusinessCalendarManager() -
setBusinessCalendarManager
public AppEngineConfiguration setBusinessCalendarManager(org.flowable.common.engine.impl.calendar.BusinessCalendarManager businessCalendarManager) -
isJsonVariableTypeTrackObjects
public boolean isJsonVariableTypeTrackObjects() -
setJsonVariableTypeTrackObjects
-
isIncludeDefaultTenantFlowApps
public boolean isIncludeDefaultTenantFlowApps() -
setIncludeDefaultTenantFlowApps
public void setIncludeDefaultTenantFlowApps(boolean includeDefaultTenantFlowApps)
-