public abstract class AbstractProcessEngineConfigurator extends Object implements ProcessEngineConfigurator
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
DEFAULT_CONFIGURATOR_PRIORITY |
コンストラクタと説明 |
---|
AbstractProcessEngineConfigurator() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
beforeInit(jp.co.intra_mart.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
Called before any initialisation has been done.
|
void |
configure(jp.co.intra_mart.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
Called when the engine boots up, before it is usable, but after
the initialisation of internal objects is done.
|
int |
getPriority()
When the
ProcessEngineConfigurator instances are used, they are first
ordered by this priority number (lowest to highest). |
public int getPriority()
ProcessEngineConfigurator
ProcessEngineConfigurator
instances are used, they are first
ordered by this priority number (lowest to highest).
If you have dependencies between ProcessEngineConfigurator
instances, use the priorities accordingly to order them as needed.getPriority
インタフェース内 ProcessEngineConfigurator
public void beforeInit(jp.co.intra_mart.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
ProcessEngineConfigurator
ProcessEngineConfigurationImpl
which allows tweaking it programmatically.
An example is the jdbc url. When a ProcessEngineConfigurator
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.beforeInit
インタフェース内 ProcessEngineConfigurator
public void configure(jp.co.intra_mart.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
ProcessEngineConfigurator
ProcessEngineConfigurationImpl
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 ProcessEngineConfigurator.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' (cfr ProcessEngineConfigurator.beforeInit(ProcessEngineConfigurationImpl)
),
but not possible due to backwards compatibility.configure
インタフェース内 ProcessEngineConfigurator
Copyright (c) 2016 NTT DATA INTRAMART CORPORATION.