public class ContentEngineConfigurator extends AbstractEngineConfigurator
| Modifier and Type | Field and Description |
|---|---|
protected ContentEngineConfiguration |
contentEngineConfiguration |
enableMybatisXmlMappingValidation| Constructor and Description |
|---|
ContentEngineConfigurator() |
| 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.
|
ContentEngineConfiguration |
getContentEngineConfiguration() |
protected List<EngineDeployer> |
getCustomDeployers() |
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 ContentEngine |
initContentEngine() |
ContentEngineConfigurator |
setContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration) |
beforeInit, createDocumentBuilderFactory, getMybatisTypeAliases, getMybatisTypeHandlers, initClock, initCommandContextFactory, initDataSource, initDbProperties, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventRegistryEventConsumers, initialiseCommonProperties, initIdGenerator, initObjectMapper, initServiceConfigurations, initSessionFactories, initVariableTypes, isEnableMybatisXmlMappingValidation, registerCustomDeployers, registerCustomMybatisMappings, setEnableMybatisXmlMappingValidationprotected ContentEngineConfiguration contentEngineConfiguration
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 ContentEngine initContentEngine()
public ContentEngineConfiguration getContentEngineConfiguration()
public ContentEngineConfigurator setContentEngineConfiguration(ContentEngineConfiguration contentEngineConfiguration)
Copyright © 2023 Flowable. All rights reserved.