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, getTasksDefinitionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProcessDefinition, getAssociatedEntities, getJavaClasses, getProcessDefinition, getProcessVariables, getReusableSubProcesses, getRuleSets, getServiceTasks, getTaskInputMappings, getTaskOutputMappings, getTasksDefinitionspublic ProcessDefinition buildProcessDefinition(String deploymentId, String bpmn2Content, org.kie.api.runtime.KieContainer kieContainer, boolean cache) throws IllegalArgumentException
DefinitionServiceProcessDefinitionbuildProcessDefinition in interface DefinitionServicebuildProcessDefinition in class BPMN2DataServiceImpldeploymentId - 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 ProcessDefinitionProcessDefinitionIllegalArgumentException - in case build operation cannot be completedpublic void onDeploy(DeploymentEvent event)
onDeploy in interface DeploymentEventListeneronDeploy in class BPMN2DataServiceImplpublic void onUnDeploy(DeploymentEvent event)
onUnDeploy in interface DeploymentEventListeneronUnDeploy in class BPMN2DataServiceImplpublic void onActivate(DeploymentEvent event)
onActivate in interface DeploymentEventListeneronActivate in class BPMN2DataServiceImplpublic void onDeactivate(DeploymentEvent event)
onDeactivate in interface DeploymentEventListeneronDeactivate in class BPMN2DataServiceImplCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.