Class EventRegistryEngineConfigurator
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfigurator
org.flowable.eventregistry.impl.configurator.EventRegistryEngineConfigurator
- All Implemented Interfaces:
EngineConfigurator
- Direct Known Subclasses:
SpringEventRegistryConfigurator
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventRegistryEngineConfiguration
protected EventRegistryEngine
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 List<EngineDeployer>
protected String
int
When theEngineConfigurator
instances are used, they are first ordered by this priority number (lowest to highest).protected EventRegistryEngine
protected void
initialiseEventRegistryEngineConfiguration
(EventRegistryEngineConfiguration eventRegistryEngineConfiguration) setEventEngineConfiguration
(EventRegistryEngineConfiguration eventEngineConfiguration) void
setEventRegistryEngine
(EventRegistryEngine eventRegistryEngine) 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
-
eventRegistryEngine
-
eventEngineConfiguration
-
-
Constructor Details
-
EventRegistryEngineConfigurator
public EventRegistryEngineConfigurator()
-
-
Method Details
-
getPriority
public int getPriority()Description copied from interface:EngineConfigurator
When theEngineConfigurator
instances are used, they are first ordered by this priority number (lowest to highest). If you have dependencies betweenEngineConfigurator
instances, use the priorities accordingly to order them as needed. -
getCustomDeployers
- Specified by:
getCustomDeployers
in classAbstractEngineConfigurator
-
getMybatisCfgPath
- Specified by:
getMybatisCfgPath
in 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: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. -
initialiseEventRegistryEngineConfiguration
protected void initialiseEventRegistryEngineConfiguration(EventRegistryEngineConfiguration eventRegistryEngineConfiguration) -
getEntityInsertionOrder
- Specified by:
getEntityInsertionOrder
in classAbstractEngineConfigurator
-
getEntityDeletionOrder
- Specified by:
getEntityDeletionOrder
in classAbstractEngineConfigurator
-
initEventRegistryEngine
-
getEventEngineConfiguration
-
setEventEngineConfiguration
public EventRegistryEngineConfigurator setEventEngineConfiguration(EventRegistryEngineConfiguration eventEngineConfiguration) -
getEventRegistryEngine
-
setEventRegistryEngine
-