jBPM :: Distribution 6.2.0-SNAPSHOT

org.jbpm.services.cdi.producer
Class CDITaskServiceFactory

java.lang.Object
  extended by org.jbpm.services.cdi.producer.CDITaskServiceFactory
All Implemented Interfaces:
org.kie.internal.runtime.manager.TaskServiceFactory

@ApplicationScoped
public class CDITaskServiceFactory
extends Object
implements org.kie.internal.runtime.manager.TaskServiceFactory

CDI based task service factory that will always deliver the same instance of the TaskService that was injected into it.


Constructor Summary
CDITaskServiceFactory()
           
 
Method Summary
 void close()
           
 TaskService newTaskService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDITaskServiceFactory

public CDITaskServiceFactory()
Method Detail

newTaskService

public TaskService newTaskService()
Specified by:
newTaskService in interface org.kie.internal.runtime.manager.TaskServiceFactory

close

public void close()
Specified by:
close in interface org.kie.internal.runtime.manager.TaskServiceFactory

jBPM :: Distribution 6.2.0-SNAPSHOT

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