@ApplicationScoped public class DeploymentInfoBean extends Object
RuntimeManager instances for each deployment for use by the Remote API.JaxbContextResolver for more info.| Constructor and Description |
|---|
DeploymentInfoBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOnDeploy(org.jbpm.services.api.DeploymentEvent event)
Called when the workbench/console/business-central deploys a new deployment.
|
void |
disposeRuntimeEngine(org.kie.api.runtime.manager.RuntimeEngine runtimeEngine) |
static boolean |
emptyDeploymentId(String deploymentId) |
Collection<Class<?>> |
getDeploymentClasses(String deploymentId)
Used by classes involved with de/serialzation in order to retrieve (user-defined) clases
to be used in de/serialization.
|
Collection<String> |
getDeploymentIds() |
org.kie.api.runtime.manager.RuntimeEngine |
getRuntimeEngine(String deploymentId,
Long processInstanceId)
Retrieve the relevant
RuntimeEngine instance. |
org.kie.api.runtime.manager.RuntimeManager |
getRuntimeManager(String domainName) |
void |
removeOnUnDeploy(org.jbpm.services.api.DeploymentEvent event)
Called when the workbench/console/business-central *un*deploys (removes) a deployment.
|
public void addOnDeploy(@Observes
org.jbpm.services.api.DeploymentEvent event)
event - public void removeOnUnDeploy(@Observes
org.jbpm.services.api.DeploymentEvent event)
event - public org.kie.api.runtime.manager.RuntimeManager getRuntimeManager(String domainName)
public void disposeRuntimeEngine(org.kie.api.runtime.manager.RuntimeEngine runtimeEngine)
public org.kie.api.runtime.manager.RuntimeEngine getRuntimeEngine(String deploymentId, Long processInstanceId)
RuntimeEngine instance.deploymentId - The id of the deployment for the RuntimeEngine.processInstanceId - The process instance id, if available.RuntimeEngine instance.public Collection<Class<?>> getDeploymentClasses(String deploymentId)
deploymentId - The deployment unit idpublic Collection<String> getDeploymentIds()
public static boolean emptyDeploymentId(String deploymentId)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.