public interface DeploymentServiceEJBRemote
Modifier and Type | Method and Description |
---|---|
void |
activate(String deploymentId)
Activates given deployment by making sure it will be available for execution.
|
void |
deactivate(String deploymentId)
Deactivates given deployment by making it only available for already running instances.
|
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)
|
boolean |
isDeployed(String deploymentUnitId)
Performs a check if given deployment is already active
|
void |
undeploy(String deploymentId)
Undeploys currently active deployment unit identified by given deploymentId
|
void |
undeploy(String deploymentId,
Function<org.jbpm.services.api.model.DeploymentUnit,Boolean> beforeUndeploy)
Undeploys currently active deployment unit identified by given deploymentId
|
void deploy(String groupId, String artifactId, String version)
groupId
- group id of the artifact to deployartifactId
- artifact id of the artifact to deployversion
- version of the artifact to deployvoid deploy(String groupId, String artifactId, String version, String kbaseName, String ksessionName)
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.xmlvoid deploy(String groupId, String artifactId, String version, String kbaseName, String ksessionName, String strategy)
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 strategyvoid undeploy(String deploymentId)
deploymentId
- unique identifier of the deploymentvoid undeploy(String deploymentId, Function<org.jbpm.services.api.model.DeploymentUnit,Boolean> beforeUndeploy)
deploymentId
- unique identifier of the deploymentbeforeUndeploy
- a function to run custom actions before undeploying a given DeploymentUnit
.
It should return if the unit can be undeployed or not determining if the deployment can continue.void activate(String deploymentId)
deploymentId
- void deactivate(String deploymentId)
deploymentId
- boolean isDeployed(String deploymentUnitId)
deploymentUnitId
- Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.