org.jbpm.pvm.internal.repository
Class ProcessDeployer

java.lang.Object
  extended by org.jbpm.pvm.internal.repository.ProcessDeployer
All Implemented Interfaces:
Deployer

public class ProcessDeployer
extends java.lang.Object
implements Deployer

Author:
Tom Baeyens

Field Summary
protected  java.lang.String extension
           
protected  Parser parser
           
 
Constructor Summary
ProcessDeployer(java.lang.String extension, Parser parser)
           
 
Method Summary
protected  void checkId(ProcessDefinitionImpl processDefinition, DeploymentImpl deployment)
           
protected  void checkKey(ProcessDefinitionImpl processDefinition, DeploymentImpl deployment)
           
protected  void checkVersion(ProcessDefinitionImpl processDefinition, DeploymentImpl deployment)
           
 void deploy(DeploymentImpl deployment)
           
 void updateResource(DeploymentImpl deployment, java.lang.String resourceName, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extension

protected java.lang.String extension

parser

protected Parser parser
Constructor Detail

ProcessDeployer

public ProcessDeployer(java.lang.String extension,
                       Parser parser)
Method Detail

deploy

public void deploy(DeploymentImpl deployment)
Specified by:
deploy in interface Deployer

checkKey

protected void checkKey(ProcessDefinitionImpl processDefinition,
                        DeploymentImpl deployment)

checkId

protected void checkId(ProcessDefinitionImpl processDefinition,
                       DeploymentImpl deployment)

checkVersion

protected void checkVersion(ProcessDefinitionImpl processDefinition,
                            DeploymentImpl deployment)

updateResource

public void updateResource(DeploymentImpl deployment,
                           java.lang.String resourceName,
                           byte[] bytes)
Specified by:
updateResource in interface Deployer


Copyright © 2010 JBoss Community. All Rights Reserved.