org.jbpm.deploy
Class DeployerManager
java.lang.Object
org.jbpm.deploy.DeployerManager
public class DeployerManager
- extends java.lang.Object
manages sequences of deployers for multiple process languages.
Each process language has a language-id. In a deployment a language-id can
be given. This deployer manager will be able to find a sequence of deployers
based on the language-id.
Also, an extension can be associated to a process language. In that case
the deployer manager can find the deployer sequence based on the
extension of the deployed file name.
- Author:
- Tom Baeyens
Field Summary |
protected java.util.Map<java.lang.String,java.util.List<Deployer>> |
deployers
maps language-ids to a sequence of process deployers |
protected java.util.Map<java.lang.String,java.lang.String> |
extensions
maps extensions to language-ids |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extensions
protected java.util.Map<java.lang.String,java.lang.String> extensions
- maps extensions to language-ids
deployers
protected java.util.Map<java.lang.String,java.util.List<Deployer>> deployers
- maps language-ids to a sequence of process deployers
DeployerManager
public DeployerManager()
deploy
public void deploy(Deployment deployment)
getExtension
public static java.lang.String getExtension(java.lang.String fileName)
addLanguage
public void addLanguage(java.lang.String language,
java.lang.String extension,
java.util.List<Deployer> deployerSequence)
setExtensions
public void setExtensions(java.util.Map<java.lang.String,java.lang.String> extensions)
setDeployers
public void setDeployers(java.util.Map<java.lang.String,java.util.List<Deployer>> deployers)