Class ProcessExecutionLoggerConfigurator
java.lang.Object
org.flowable.engine.cfg.AbstractProcessEngineConfigurator
org.flowable.engine.test.impl.logger.ProcessExecutionLoggerConfigurator
- All Implemented Interfaces:
EngineConfigurator
- Author:
- jbarrez
-
Field Summary
FieldsFields inherited from class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
DEFAULT_CONFIGURATOR_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeInit
(AbstractEngineConfiguration engineConfiguration) Called before any initialisation has been done.void
configure
(AbstractEngineConfiguration engineConfiguration) Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done.void
setProcessExecutionLogger
(ProcessExecutionLogger processExecutionLogger) Methods inherited from class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
getPriority
-
Field Details
-
processExecutionLogger
-
-
Constructor Details
-
ProcessExecutionLoggerConfigurator
public ProcessExecutionLoggerConfigurator()
-
-
Method Details
-
beforeInit
Description copied from interface:EngineConfigurator
Called before any initialisation has been done. This can for example be useful to change configuration settings before anything that uses those properties is created. Allows to tweak the engine by passing theAbstractEngineConfiguration
which allows tweaking it programmatically. An example is the jdbc url. When aEngineConfigurator
instance wants to change it, it needs to do it in this method, or otherwise the datasource would already have been created with the 'old' value for the jdbc url.- Specified by:
beforeInit
in interfaceEngineConfigurator
- Overrides:
beforeInit
in classAbstractProcessEngineConfigurator
-
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.- Specified by:
configure
in interfaceEngineConfigurator
- Overrides:
configure
in classAbstractProcessEngineConfigurator
-
getProcessExecutionLogger
-
setProcessExecutionLogger
-