Class EventRegistryEngineConfigurator
java.lang.Object
org.flowable.common.engine.impl.AbstractEngineConfigurator<EventRegistryEngine>
org.flowable.eventregistry.impl.configurator.EventRegistryEngineConfigurator
- All Implemented Interfaces:
EngineConfigurator
- Direct Known Subclasses:
SpringEventRegistryConfigurator
public class EventRegistryEngineConfigurator
extends AbstractEngineConfigurator<EventRegistryEngine>
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.common.engine.impl.AbstractEngineConfigurator
buildEngine, enableMybatisXmlMappingValidation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EventRegistryEngine
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>
protected String
int
When theEngineConfigurator
instances are used, they are first ordered by this priority number (lowest to highest).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, initEngine, initEngineConfigurations, initEventDispatcher, initEventRegistryEventConsumers, initialiseCommonProperties, initialiseCommonProperties, initIdGenerator, initObjectMapper, initSchemaManager, initServiceConfigurations, initSessionFactories, initVariableTypes, isEnableMybatisXmlMappingValidation, registerCustomDeployers, registerCustomMybatisMappings, setEnableMybatisXmlMappingValidation
-
Field Details
-
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<EventRegistryEngine>
-
getMybatisCfgPath
- Specified by:
getMybatisCfgPath
in classAbstractEngineConfigurator<EventRegistryEngine>
- 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<EventRegistryEngine>
-
getEntityDeletionOrder
- Specified by:
getEntityDeletionOrder
in classAbstractEngineConfigurator<EventRegistryEngine>
-
buildEngine
- Specified by:
buildEngine
in classAbstractEngineConfigurator<EventRegistryEngine>
-
getEventEngineConfiguration
-
setEventEngineConfiguration
public EventRegistryEngineConfigurator setEventEngineConfiguration(EventRegistryEngineConfiguration eventEngineConfiguration) -
getEventRegistryEngine
-
setEventRegistryEngine
-