public class DefinitionServiceEJBImpl extends BPMN2DataServiceImpl implements DeploymentEventListener, DefinitionService, DefinitionServiceEJBLocal, DefinitionServiceEJBRemote
Constructor and Description |
---|
DefinitionServiceEJBImpl() |
Modifier and Type | Method and Description |
---|---|
ProcessDefinition |
buildProcessDefinition(String deploymentId,
String bpmn2Content,
org.kie.api.runtime.KieContainer kieContainer,
boolean cache)
Performs build operation for given bpmn2content to produce fully populated
ProcessDefinition |
void |
onActivate(DeploymentEvent event) |
void |
onDeactivate(DeploymentEvent event) |
void |
onDeploy(DeploymentEvent event) |
void |
onUnDeploy(DeploymentEvent event) |
addProcessDefinition, getAssociatedEntities, getJavaClasses, getProcessDefinition, getProcessVariables, getReusableSubProcesses, getRuleSets, getServiceTasks, getTaskInputMappings, getTaskOutputMappings, getTasksDefinitions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProcessDefinition, getAssociatedEntities, getJavaClasses, getProcessDefinition, getProcessVariables, getReusableSubProcesses, getRuleSets, getServiceTasks, getTaskInputMappings, getTaskOutputMappings, getTasksDefinitions
public ProcessDefinition buildProcessDefinition(String deploymentId, String bpmn2Content, org.kie.api.runtime.KieContainer kieContainer, boolean cache) throws IllegalArgumentException
DefinitionService
ProcessDefinition
buildProcessDefinition
in interface DefinitionService
buildProcessDefinition
in class BPMN2DataServiceImpl
deploymentId
- identifier of deployment this process belongs to,
might be null if built definition does not need to be storedbpmn2Content
- actual BPMN xml content as string to be parsed and processedkieContainer
- the KieContainer
instance that contains the deployment project: this should be used when
parsing the BPMN2 in case custom classes or other project resources (processes, rules) are referencedcache
- indicates if the definition service should cache this ProcessDefinition
ProcessDefinition
IllegalArgumentException
- in case build operation cannot be completedpublic void onDeploy(DeploymentEvent event)
onDeploy
in interface DeploymentEventListener
onDeploy
in class BPMN2DataServiceImpl
public void onUnDeploy(DeploymentEvent event)
onUnDeploy
in interface DeploymentEventListener
onUnDeploy
in class BPMN2DataServiceImpl
public void onActivate(DeploymentEvent event)
onActivate
in interface DeploymentEventListener
onActivate
in class BPMN2DataServiceImpl
public void onDeactivate(DeploymentEvent event)
onDeactivate
in interface DeploymentEventListener
onDeactivate
in class BPMN2DataServiceImpl
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.