org.jbpm.services.cdi.producer

## Class CDITaskServiceFactory

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

    Constructors
    Constructor and Description
    `CDITaskServiceFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `org.kie.api.task.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 org.kie.api.task.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`

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.