Class ProcessEngineXmlImpl
java.lang.Object
org.camunda.bpm.container.impl.metadata.ProcessEngineXmlImpl
- All Implemented Interfaces:
ProcessEngineXml
Implementation of the ProcessEngineXml
descriptor.
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
setConfigurationClass
(String configurationClass) void
setDatasource
(String datasource) void
setDefault
(boolean isDefault) void
setJobAcquisitionName
(String jobAcquisitionName) void
void
setPlugins
(List<ProcessEnginePluginXml> plugins) void
setProperties
(Map<String, String> properties)
-
Field Details
-
name
-
isDefault
protected boolean isDefault -
configurationClass
-
jobAcquisitionName
-
datasource
-
properties
-
plugins
-
-
Constructor Details
-
ProcessEngineXmlImpl
public ProcessEngineXmlImpl()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceProcessEngineXml
- Returns:
- the name of the process engine. Must not be null.
-
setName
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceProcessEngineXml
- Returns:
- true if the process engine is the default process engine.
-
setDefault
public void setDefault(boolean isDefault) -
getConfigurationClass
- Specified by:
getConfigurationClass
in interfaceProcessEngineXml
- Returns:
- the name of the Java Class that is to be used in order to create
the process engine instance. Must be a subclass of
ProcessEngineConfiguration
. If no value is specified,StandaloneProcessEngineConfiguration
is used.
-
setConfigurationClass
-
getProperties
- Specified by:
getProperties
in interfaceProcessEngineXml
- Returns:
- a set of additional properties. The properties are directly set on
the
ProcessEngineConfiguration
class (seeProcessEngineXml.getConfigurationClass()
). This means that each property name used here must be a bean property name on the process engine configuration class and the bean property must be of typeString
,Integer
orBoolean
.
-
setProperties
-
getDatasource
- Specified by:
getDatasource
in interfaceProcessEngineXml
- Returns:
- the JNDI Name of the datasource to be used.
-
setDatasource
-
getJobAcquisitionName
- Specified by:
getJobAcquisitionName
in interfaceProcessEngineXml
- Returns:
- the name of the job acquisition to be used.
-
setJobAcquisitionName
-
getPlugins
- Specified by:
getPlugins
in interfaceProcessEngineXml
- Returns:
- a list of
ProcessEnginePlugin
definitions.
-
setPlugins
-