KIE Remote Services :: Services 6.0.1.Final

org.kie.services.remote.cdi
Class DeploymentInfoBean

java.lang.Object
  extended by 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.


Constructor Summary
DeploymentInfoBean()
           
 
Method Summary
 void addOnDeploy(org.jbpm.kie.services.impl.event.DeploymentEvent event)
           
 Collection<Class<?>> getDeploymentClasses(String deploymentId)
           
 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.kie.services.impl.event.DeploymentEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentInfoBean

public DeploymentInfoBean()
Method Detail

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()

KIE Remote Services :: Services 6.0.1.Final

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.