org.jbpm.services.ejb.impl
Class DefinitionServiceEJBImpl
java.lang.Object
org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl
org.jbpm.services.ejb.impl.DefinitionServiceEJBImpl
- All Implemented Interfaces:
- DefinitionService, DeploymentEventListener, DefinitionServiceEJBLocal, DefinitionServiceEJBRemote
public class DefinitionServiceEJBImpl
- extends BPMN2DataServiceImpl
- implements DeploymentEventListener, DefinitionService, DefinitionServiceEJBLocal, DefinitionServiceEJBRemote
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefinitionServiceEJBImpl
public DefinitionServiceEJBImpl()
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 storedbpmn2Content - actual BPMN xml content as string to be parsed and processedclassLoader - class loader that should be used while parsing the BPMN2 in case custom classes are referencedcache - indicates if the definition service should cache this ProcessDefinition
- Returns:
- fully populated
ProcessDefinition
- Throws:
IllegalArgumentException - in case build operation cannot be completed
onDeploy
public void onDeploy(DeploymentEvent event)
- Specified by:
onDeploy in interface DeploymentEventListener- Overrides:
onDeploy in class BPMN2DataServiceImpl
onUnDeploy
public void onUnDeploy(DeploymentEvent event)
- Specified by:
onUnDeploy in interface DeploymentEventListener- Overrides:
onUnDeploy in class BPMN2DataServiceImpl
onActivate
public void onActivate(DeploymentEvent event)
- Specified by:
onActivate in interface DeploymentEventListener- Overrides:
onActivate in class BPMN2DataServiceImpl
onDeactivate
public void onDeactivate(DeploymentEvent event)
- Specified by:
onDeactivate in interface DeploymentEventListener- Overrides:
onDeactivate in class BPMN2DataServiceImpl
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.