Class ProcessExecutionLoggerConfigurator
- java.lang.Object
-
- org.activiti.engine.cfg.AbstractProcessEngineConfigurator
-
- org.activiti.engine.test.impl.logger.ProcessExecutionLoggerConfigurator
-
- All Implemented Interfaces:
ProcessEngineConfigurator
public class ProcessExecutionLoggerConfigurator extends AbstractProcessEngineConfigurator
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessExecutionLoggerprocessExecutionLogger-
Fields inherited from class org.activiti.engine.cfg.AbstractProcessEngineConfigurator
DEFAULT_CONFIGURATOR_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ProcessExecutionLoggerConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeInit(ProcessEngineConfigurationImpl processEngineConfiguration)Called before any initialisation has been done.voidconfigure(ProcessEngineConfigurationImpl processEngineConfiguration)Called when the engine boots up, before it is usable, but after the initialisation of internal objects is done.ProcessExecutionLoggergetProcessExecutionLogger()voidsetProcessExecutionLogger(ProcessExecutionLogger processExecutionLogger)-
Methods inherited from class org.activiti.engine.cfg.AbstractProcessEngineConfigurator
getPriority
-
-
-
-
Field Detail
-
processExecutionLogger
protected ProcessExecutionLogger processExecutionLogger
-
-
Method Detail
-
beforeInit
public void beforeInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:ProcessEngineConfiguratorCalled 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 process engine by passing theProcessEngineConfigurationImplwhich allows tweaking it programmatically. An example is the jdbc url. When aProcessEngineConfiguratorinstance 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:
beforeInitin interfaceProcessEngineConfigurator- Overrides:
beforeInitin classAbstractProcessEngineConfigurator
-
configure
public void configure(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:ProcessEngineConfiguratorCalled when the engine boots up, before it is usable, but after the initialisation of internal objects is done. Allows to tweak the process engine by passing theProcessEngineConfigurationImplwhich 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 theProcessEngineConfigurator.beforeInit(ProcessEngineConfigurationImpl)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' (cfrProcessEngineConfigurator.beforeInit(ProcessEngineConfigurationImpl)), but not possible due to backwards compatibility.- Specified by:
configurein interfaceProcessEngineConfigurator- Overrides:
configurein classAbstractProcessEngineConfigurator
-
getProcessExecutionLogger
public ProcessExecutionLogger getProcessExecutionLogger()
-
setProcessExecutionLogger
public void setProcessExecutionLogger(ProcessExecutionLogger processExecutionLogger)
-
-