jBPM distribution 6.2.0.CR1

org.jbpm.services.ejb.impl
Class DefinitionServiceEJBImpl

java.lang.Object
  extended by org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl
      extended by org.jbpm.services.ejb.impl.DefinitionServiceEJBImpl
All Implemented Interfaces:
DefinitionService, DefinitionServiceEJBLocal, DefinitionServiceEJBRemote

public class DefinitionServiceEJBImpl
extends BPMN2DataServiceImpl
implements DefinitionService, DefinitionServiceEJBLocal, DefinitionServiceEJBRemote


Constructor Summary
DefinitionServiceEJBImpl()
           
 
Method Summary
 ProcessDefinition buildProcessDefinition(String deploymentId, String bpmn2Content, ClassLoader classLoader, boolean cache)
          Performs build operation for given bpmn2content to produce fully populated ProcessDefinition
 
Methods inherited from class org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl
getAssociatedEntities, getProcessDefinition, getProcessVariables, getProvider, getReusableSubProcesses, getServiceTasks, getTaskInputMappings, getTaskOutputMappings, getTasksDefinitions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.services.api.DefinitionService
getAssociatedEntities, getProcessDefinition, getProcessVariables, getReusableSubProcesses, getServiceTasks, getTaskInputMappings, getTaskOutputMappings, getTasksDefinitions
 

Constructor Detail

DefinitionServiceEJBImpl

public DefinitionServiceEJBImpl()
Method Detail

buildProcessDefinition

public ProcessDefinition buildProcessDefinition(String deploymentId,
                                                String bpmn2Content,
                                                ClassLoader classLoader,
                                                boolean cache)
                                         throws IllegalArgumentException
Description copied from interface: DefinitionService
Performs build operation for given bpmn2content to produce fully populated ProcessDefinition

Specified by:
buildProcessDefinition in interface DefinitionService
Overrides:
buildProcessDefinition in class BPMN2DataServiceImpl
Parameters:
deploymentId - identifier of deployment this process belongs to, might be null if built definition does not need to be stored
bpmn2Content - actual BPMN xml content as string to be parsed and processed
classLoader - class loader that should be used while parsing the BPMN2 in case custom classes are referenced
cache - indicates if the definition service should cache this ProcessDefinition
Returns:
fully populated ProcessDefinition
Throws:
IllegalArgumentException - in case build operation cannot be completed

jBPM distribution 6.2.0.CR1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.