Class DmnEngineConfigurator
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfigurator
org.flowable.dmn.engine.configurator.DmnEngineConfigurator
- All Implemented Interfaces:
EngineConfigurator
- Direct Known Subclasses:
SpringDmnEngineConfigurator
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.common.engine.impl.AbstractEngineConfigurator
enableMybatisXmlMappingValidation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(AbstractEngineConfiguration engineConfiguration) Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done.protected List<EngineDeployer>protected StringintWhen theEngineConfiguratorinstances are used, they are first ordered by this priority number (lowest to highest).protected DmnEnginesetDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration) Methods inherited from class org.flowable.common.engine.impl.AbstractEngineConfigurator
beforeInit, createDocumentBuilderFactory, getMybatisTypeAliases, getMybatisTypeHandlers, initClock, initCommandContextFactory, initDataSource, initDbProperties, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventRegistryEventConsumers, initialiseCommonProperties, initIdGenerator, initObjectMapper, initServiceConfigurations, initSessionFactories, initVariableTypes, isEnableMybatisXmlMappingValidation, registerCustomDeployers, registerCustomMybatisMappings, setEnableMybatisXmlMappingValidation
-
Field Details
-
dmnEngineConfiguration
-
-
Constructor Details
-
DmnEngineConfigurator
public DmnEngineConfigurator()
-
-
Method Details
-
getPriority
public int getPriority()Description copied from interface:EngineConfiguratorWhen theEngineConfiguratorinstances are used, they are first ordered by this priority number (lowest to highest). If you have dependencies betweenEngineConfiguratorinstances, use the priorities accordingly to order them as needed. -
getCustomDeployers
- Specified by:
getCustomDeployersin classAbstractEngineConfigurator
-
getMybatisCfgPath
- Specified by:
getMybatisCfgPathin classAbstractEngineConfigurator- Returns:
- The path to the Mybatis cfg file that is normally used for the engine (so the full cfg, not an individual mapper). Return null in case no custom mappers should be loaded.
-
configure
Description copied from interface:EngineConfiguratorCalled 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 theAbstractEngineConfigurationwhich 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. -
getEntityInsertionOrder
- Specified by:
getEntityInsertionOrderin classAbstractEngineConfigurator
-
getEntityDeletionOrder
- Specified by:
getEntityDeletionOrderin classAbstractEngineConfigurator
-
initDmnEngine
-
getDmnEngineConfiguration
-
setDmnEngineConfiguration
public DmnEngineConfigurator setDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration)
-