jBPM distribution 6.2.0.CR2

org.jbpm.services.cdi.impl.manager
Class RuntimeManagerProducer

java.lang.Object
  extended by org.jbpm.services.cdi.impl.manager.RuntimeManagerProducer

@ApplicationScoped
public class RuntimeManagerProducer
extends Object

Producer method used to build instances of RuntimeManager automatically by CDI container. It contains dedicated producer methods for all supported manager types:

It requires two bean injected that are required for successful instantiation of RuntimeManager: Injections are controlled with qualifiers so same should be used at injection points that should receive them

See Also:
Singleton, PerRequest, PerProcessInstance

Constructor Summary
RuntimeManagerProducer()
           
 
Method Summary
 RuntimeManager newPerProcessInstanceRuntimeManager()
           
 RuntimeManager newPerRequestRuntimeManager()
           
 RuntimeManager newSingletonRuntimeManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeManagerProducer

public RuntimeManagerProducer()
Method Detail

newSingletonRuntimeManager

@Produces
public RuntimeManager newSingletonRuntimeManager()

newPerRequestRuntimeManager

@Produces
public RuntimeManager newPerRequestRuntimeManager()

newPerProcessInstanceRuntimeManager

@Produces
public RuntimeManager newPerProcessInstanceRuntimeManager()

jBPM distribution 6.2.0.CR2

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