org.kie.services.remote.cdi
Class DeploymentInfoBean
java.lang.Object
org.kie.services.remote.cdi.DeploymentInfoBean
@Singleton
public class DeploymentInfoBean
- extends Object
- Keeps track of the RuntimeManager instances for each deployment for use by the Remote API.
- Keeps track of the list of classes in deployments.
- This is necessary in order for serialization of inputs containing instances of (user) classes defined in the KJar deployments.
- See the JaxbContextResolver for more info.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentInfoBean
public DeploymentInfoBean()
addOnDeploy
public void addOnDeploy(@Observes
org.jbpm.kie.services.impl.event.DeploymentEvent event)
removeOnUnDeploy
public void removeOnUnDeploy(@Observes
org.jbpm.kie.services.impl.event.DeploymentEvent event)
getRuntimeManager
public org.kie.api.runtime.manager.RuntimeManager getRuntimeManager(String domainName)
getRuntimeEngine
public org.kie.api.runtime.manager.RuntimeEngine getRuntimeEngine(String deploymentId,
Long processInstanceId)
- Retrieve the relevant
RuntimeEngine instance.
- Parameters:
deploymentId - The id of the deployment for the RuntimeEngine.processInstanceId - The process instance id, if available.
- Returns:
- The
RuntimeEngine instance.
getDeploymentClasses
public Collection<Class<?>> getDeploymentClasses(String deploymentId)
getDeploymentIds
public Collection<String> getDeploymentIds()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.