Class ProcessEngineXmlImpl
- java.lang.Object
-
- org.camunda.bpm.container.impl.metadata.ProcessEngineXmlImpl
-
- All Implemented Interfaces:
ProcessEngineXml
public class ProcessEngineXmlImpl extends java.lang.Object implements ProcessEngineXml
Implementation of the
ProcessEngineXml
descriptor.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
configurationClass
protected java.lang.String
datasource
protected boolean
isDefault
protected java.lang.String
jobAcquisitionName
protected java.lang.String
name
protected java.util.List<ProcessEnginePluginXml>
plugins
protected java.util.Map<java.lang.String,java.lang.String>
properties
-
Constructor Summary
Constructors Constructor Description ProcessEngineXmlImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfigurationClass()
java.lang.String
getDatasource()
java.lang.String
getJobAcquisitionName()
java.lang.String
getName()
java.util.List<ProcessEnginePluginXml>
getPlugins()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
boolean
isDefault()
void
setConfigurationClass(java.lang.String configurationClass)
void
setDatasource(java.lang.String datasource)
void
setDefault(boolean isDefault)
void
setJobAcquisitionName(java.lang.String jobAcquisitionName)
void
setName(java.lang.String name)
void
setPlugins(java.util.List<ProcessEnginePluginXml> plugins)
void
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
-
-
Field Detail
-
name
protected java.lang.String name
-
isDefault
protected boolean isDefault
-
configurationClass
protected java.lang.String configurationClass
-
jobAcquisitionName
protected java.lang.String jobAcquisitionName
-
datasource
protected java.lang.String datasource
-
properties
protected java.util.Map<java.lang.String,java.lang.String> properties
-
plugins
protected java.util.List<ProcessEnginePluginXml> plugins
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceProcessEngineXml
- Returns:
- the name of the process engine. Must not be null.
-
setName
public void setName(java.lang.String name)
-
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
public java.lang.String 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
public void setConfigurationClass(java.lang.String configurationClass)
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> 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
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
getDatasource
public java.lang.String getDatasource()
- Specified by:
getDatasource
in interfaceProcessEngineXml
- Returns:
- the JNDI Name of the datasource to be used.
-
setDatasource
public void setDatasource(java.lang.String datasource)
-
getJobAcquisitionName
public java.lang.String getJobAcquisitionName()
- Specified by:
getJobAcquisitionName
in interfaceProcessEngineXml
- Returns:
- the name of the job acquisition to be used.
-
setJobAcquisitionName
public void setJobAcquisitionName(java.lang.String jobAcquisitionName)
-
getPlugins
public java.util.List<ProcessEnginePluginXml> getPlugins()
- Specified by:
getPlugins
in interfaceProcessEngineXml
- Returns:
- a list of
ProcessEnginePlugin
definitions.
-
setPlugins
public void setPlugins(java.util.List<ProcessEnginePluginXml> plugins)
-
-