public class DmnEngineConfigurator extends AbstractEngineConfigurator
| Modifier and Type | Field and Description |
|---|---|
protected DmnEngineConfiguration |
dmnEngineConfiguration |
enableMybatisXmlMappingValidation| Constructor and Description |
|---|
DmnEngineConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AbstractEngineConfiguration engineConfiguration)
Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done.
|
protected List<EngineDeployer> |
getCustomDeployers() |
DmnEngineConfiguration |
getDmnEngineConfiguration() |
protected List<Class<? extends Entity>> |
getEntityDeletionOrder() |
protected List<Class<? extends Entity>> |
getEntityInsertionOrder() |
protected String |
getMybatisCfgPath() |
int |
getPriority()
When the
EngineConfigurator instances are used, they are first ordered by this priority number (lowest to highest). |
protected DmnEngine |
initDmnEngine() |
DmnEngineConfigurator |
setDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration) |
beforeInit, createDocumentBuilderFactory, getMybatisTypeAliases, getMybatisTypeHandlers, initClock, initCommandContextFactory, initDataSource, initDbProperties, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventRegistryEventConsumers, initialiseCommonProperties, initIdGenerator, initObjectMapper, initServiceConfigurations, initSessionFactories, initVariableTypes, isEnableMybatisXmlMappingValidation, registerCustomDeployers, registerCustomMybatisMappings, setEnableMybatisXmlMappingValidationprotected DmnEngineConfiguration dmnEngineConfiguration
public int getPriority()
EngineConfiguratorEngineConfigurator instances are used, they are first ordered by this priority number (lowest to highest). If you have dependencies between
EngineConfigurator instances, use the priorities accordingly to order them as needed.protected List<EngineDeployer> getCustomDeployers()
getCustomDeployers in class AbstractEngineConfiguratorprotected String getMybatisCfgPath()
getMybatisCfgPath in class AbstractEngineConfiguratorpublic void configure(AbstractEngineConfiguration engineConfiguration)
EngineConfiguratorAbstractEngineConfiguration 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 the
EngineConfigurator.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' (cfr EngineConfigurator.beforeInit(AbstractEngineConfiguration)), but not possible due to backwards compatibility.protected List<Class<? extends Entity>> getEntityInsertionOrder()
getEntityInsertionOrder in class AbstractEngineConfiguratorprotected List<Class<? extends Entity>> getEntityDeletionOrder()
getEntityDeletionOrder in class AbstractEngineConfiguratorprotected DmnEngine initDmnEngine()
public DmnEngineConfiguration getDmnEngineConfiguration()
public DmnEngineConfigurator setDmnEngineConfiguration(DmnEngineConfiguration dmnEngineConfiguration)
Copyright © 2023 Flowable. All rights reserved.