public class JMXConfigurator extends AbstractProcessEngineConfigurator
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
connectorPort |
protected Boolean |
createConnector |
static String |
DEFAUL_JMX_DOMAIN |
protected String |
domain |
protected ManagementAgent |
managementAgent |
protected String |
mbeanDomain |
protected ProcessEngineConfiguration |
processEngineConfig |
protected String |
serviceUrlPath |
DEFAULT_CONFIGURATOR_PRIORITY| Constructor and Description |
|---|
JMXConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
Integer |
getConnectorPort() |
Boolean |
getCreateConnector() |
String |
getDomain() |
String |
getMbeanDomain() |
ProcessEngineConfiguration |
getProcessEngineConfig() |
Integer |
getRegistryPort() |
String |
getServiceUrlPath() |
void |
setConnectorPort(Integer connectorPort) |
void |
setCreateConnector(Boolean createConnector) |
void |
setDomain(String domain) |
void |
setMbeanDomain(String mbeanDomain) |
void |
setProcessEngineConfig(ProcessEngineConfiguration processEngineConfig) |
void |
setRegistryPort(Integer registryPort) |
void |
setServiceUrlPath(String serviceUrlPath) |
getPrioritypublic static final String DEFAUL_JMX_DOMAIN
protected Integer connectorPort
protected String domain
protected String mbeanDomain
protected String serviceUrlPath
protected Boolean createConnector
protected ProcessEngineConfiguration processEngineConfig
protected ManagementAgent managementAgent
public ProcessEngineConfiguration getProcessEngineConfig()
public void setProcessEngineConfig(ProcessEngineConfiguration processEngineConfig)
public String getDomain()
public void setDomain(String domain)
public String getMbeanDomain()
public Boolean getCreateConnector()
public void setCreateConnector(Boolean createConnector)
public void setMbeanDomain(String mbeanDomain)
public Integer getRegistryPort()
public void setRegistryPort(Integer registryPort)
public String getServiceUrlPath()
public void setServiceUrlPath(String serviceUrlPath)
public Integer getConnectorPort()
public void setConnectorPort(Integer connectorPort)
public void beforeInit(AbstractEngineConfiguration engineConfiguration)
EngineConfiguratorAbstractEngineConfiguration which allows tweaking it programmatically.
An example is the jdbc url. When a EngineConfigurator 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 in interface EngineConfiguratorbeforeInit in class AbstractProcessEngineConfiguratorpublic void configure(AbstractEngineConfiguration engineConfiguration)
EngineConfiguratorAbstractEngineConfiguration 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
EngineConfigurator.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' (cfr EngineConfigurator.beforeInit(AbstractEngineConfiguration)), but not possible due to backwards compatibility.configure in interface EngineConfiguratorconfigure in class AbstractProcessEngineConfiguratorCopyright © 2023 Flowable. All rights reserved.