org.jbpm.services.ejb.impl
Class DeploymentServiceEJBImpl
java.lang.Object
org.jbpm.kie.services.impl.AbstractDeploymentService
org.jbpm.kie.services.impl.KModuleDeploymentService
org.jbpm.services.ejb.impl.DeploymentServiceEJBImpl
- All Implemented Interfaces:
- DeploymentService, ListenerSupport, DeploymentServiceEJBLocal, DeploymentServiceEJBRemote
public class DeploymentServiceEJBImpl
- extends KModuleDeploymentService
- implements ListenerSupport, DeploymentService, DeploymentServiceEJBLocal, DeploymentServiceEJBRemote
Method Summary |
void |
deploy(String groupId,
String artifactId,
String version)
Deploys artifact identified by given GAV (group, artifact, version) |
void |
deploy(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName)
Deploys artifact identified by given GAV (group, artifact, version) with additional selection of kbase and
ksession names from kmodule.xml - these names must exists in kmodule.xml of the artifact being deployed |
void |
deploy(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName,
String strategy)
Deploys artifact identified by given GAV (group, artifact, version) with additional selection of kbase and
ksession names from kmodule.xml - these names must exists in kmodule.xml of the artifact being deployed and
runtime strategy (singleton, per request, per process instance) |
void |
onInit()
|
void |
setBpmn2Service(DefinitionService bpmn2Service)
|
void |
setContext(javax.ejb.EJBContext context)
|
void |
setEmf(javax.persistence.EntityManagerFactory emf)
|
void |
setRuntimeDataService(RuntimeDataService runtimeDataService)
|
void |
undeploy(String deploymentId)
Undeploys currently active deployment unit identified by given deploymentId |
Methods inherited from class org.jbpm.kie.services.impl.AbstractDeploymentService |
addListener, commonDeploy, getDeployedUnit, getDeployedUnits, getDeploymentsMap, getEmf, getListeners, getManagerFactory, getRuntimeDataService, getRuntimeManager, notifyOnDeploy, notifyOnUnDeploy, removeListener, setIdentityProvider, setManagerFactory, setupAuditLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentServiceEJBImpl
public DeploymentServiceEJBImpl()
onInit
@PostConstruct
public void onInit()
- Overrides:
onInit
in class KModuleDeploymentService
setContext
public void setContext(javax.ejb.EJBContext context)
setEmf
public void setEmf(javax.persistence.EntityManagerFactory emf)
- Overrides:
setEmf
in class AbstractDeploymentService
setBpmn2Service
public void setBpmn2Service(DefinitionService bpmn2Service)
- Overrides:
setBpmn2Service
in class KModuleDeploymentService
setRuntimeDataService
public void setRuntimeDataService(RuntimeDataService runtimeDataService)
- Overrides:
setRuntimeDataService
in class AbstractDeploymentService
deploy
public void deploy(String groupId,
String artifactId,
String version)
- Description copied from interface:
DeploymentServiceEJBRemote
- Deploys artifact identified by given GAV (group, artifact, version)
- Specified by:
deploy
in interface DeploymentServiceEJBRemote
- Parameters:
groupId
- group id of the artifact to deployartifactId
- artifact id of the artifact to deployversion
- version of the artifact to deploy
deploy
public void deploy(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName)
- Description copied from interface:
DeploymentServiceEJBRemote
- Deploys artifact identified by given GAV (group, artifact, version) with additional selection of kbase and
ksession names from kmodule.xml - these names must exists in kmodule.xml of the artifact being deployed
- Specified by:
deploy
in interface DeploymentServiceEJBRemote
- Parameters:
groupId
- group id of the artifact to deployartifactId
- artifact id of the artifact to deployversion
- version of the artifact to deploykbaseName
- name of kie base defined in kmodule.xmlksessionName
- name of kie session defined in kmodule.xml
deploy
public void deploy(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName,
String strategy)
- Description copied from interface:
DeploymentServiceEJBRemote
- Deploys artifact identified by given GAV (group, artifact, version) with additional selection of kbase and
ksession names from kmodule.xml - these names must exists in kmodule.xml of the artifact being deployed and
runtime strategy (singleton, per request, per process instance)
- Specified by:
deploy
in interface DeploymentServiceEJBRemote
- Parameters:
groupId
- group id of the artifact to deployartifactId
- artifact id of the artifact to deployversion
- version of the artifact to deploykbaseName
- name of kie base defined in kmodule.xmlksessionName
- name of kie session defined in kmodule.xmlstrategy
- selected runtime strategy
undeploy
public void undeploy(String deploymentId)
- Description copied from interface:
DeploymentServiceEJBRemote
- Undeploys currently active deployment unit identified by given deploymentId
- Specified by:
undeploy
in interface DeploymentServiceEJBRemote
- Parameters:
deploymentId
- unique identifier of the deployment
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.