Class SpringProcessEngineConfigurator
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfigurator
org.flowable.engine.configurator.ProcessEngineConfigurator
org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator
- All Implemented Interfaces:
EngineConfigurator
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
Fields inherited from class org.flowable.engine.configurator.ProcessEngineConfigurator
processEngineConfiguration
Fields inherited from class org.flowable.common.engine.impl.AbstractEngineConfigurator
enableMybatisXmlMappingValidation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(AbstractEngineConfiguration engineConfiguration) Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done.protected ProcessEngine
setProcessEngineConfiguration
(SpringProcessEngineConfiguration processEngineConfiguration) Methods inherited from class org.flowable.engine.configurator.ProcessEngineConfigurator
getCustomDeployers, getEntityDeletionOrder, getEntityInsertionOrder, getJobServiceConfiguration, getMybatisCfgPath, getPriority, initDbSqlSessionFactory, setProcessEngineConfiguration
Methods inherited from class org.flowable.common.engine.impl.AbstractEngineConfigurator
beforeInit, createDocumentBuilderFactory, getMybatisTypeAliases, getMybatisTypeHandlers, initClock, initCommandContextFactory, initDataSource, initDbProperties, initEngineConfigurations, initEventDispatcher, initEventRegistryEventConsumers, initialiseCommonProperties, initIdGenerator, initObjectMapper, initServiceConfigurations, initSessionFactories, initVariableTypes, isEnableMybatisXmlMappingValidation, registerCustomDeployers, registerCustomMybatisMappings, setEnableMybatisXmlMappingValidation
-
Constructor Details
-
SpringProcessEngineConfigurator
public SpringProcessEngineConfigurator()
-
-
Method Details
-
configure
Description copied from interface:EngineConfigurator
Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done. Allows to tweak the engine by passing theAbstractEngineConfiguration
which allows tweaking it programmatically. An example is the ldap user/group manager, which is an addition to the engine. No default properties need to be overridden for this (otherwise theEngineConfigurator.beforeInit(AbstractEngineConfiguration)
method should be used) so the logic contained in this method is executed after initialisation of the default objects. Probably a better name would be 'afterInit' (cfrEngineConfigurator.beforeInit(AbstractEngineConfiguration)
), but not possible due to backwards compatibility.- Specified by:
configure
in interfaceEngineConfigurator
- Overrides:
configure
in classProcessEngineConfigurator
-
initProcessEngine
- Overrides:
initProcessEngine
in classProcessEngineConfigurator
-
getProcessEngineConfiguration
- Overrides:
getProcessEngineConfiguration
in classProcessEngineConfigurator
-
setProcessEngineConfiguration
public SpringProcessEngineConfigurator setProcessEngineConfiguration(SpringProcessEngineConfiguration processEngineConfiguration)
-