org.jbpm.persistence.timer

## Class GlobalJPATimerJobFactoryManager

- java.lang.Object
- - org.jbpm.persistence.timer.GlobalJPATimerJobFactoryManager

- All Implemented Interfaces:
    org.drools.core.time.impl.CommandServiceTimerJobFactoryManager, org.drools.core.time.impl.TimerJobFactoryManager

      public class GlobalJPATimerJobFactoryManager
      extends Object
      implements org.drools.core.time.impl.CommandServiceTimerJobFactoryManager

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GlobalJPATimerJobFactoryManager()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance)`
    `org.drools.core.time.impl.TimerJobInstance` | `createTimerJobInstance(org.drools.core.time.Job job, org.drools.core.time.JobContext ctx, org.drools.core.time.Trigger trigger, org.drools.core.time.JobHandle handle, org.drools.core.time.InternalSchedulerService scheduler)`
    `org.drools.core.command.CommandService` | `getCommandService()`
    `Collection<org.drools.core.time.impl.TimerJobInstance>` | `getTimerJobInstances()`
    `Collection<org.drools.core.time.impl.TimerJobInstance>` | `getTimerJobInstances(Long sessionId)`
    `void` | `removeTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance)`
    `void` | `setCommandService(org.drools.core.command.CommandService commandService)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GlobalJPATimerJobFactoryManager

          public GlobalJPATimerJobFactoryManager()

  - ### Method Detail

    - #### setCommandService

          public void setCommandService(org.drools.core.command.CommandService commandService)

      Specified by:
        `setCommandService` in interface `org.drools.core.time.impl.CommandServiceTimerJobFactoryManager`

    - #### createTimerJobInstance

          public org.drools.core.time.impl.TimerJobInstance createTimerJobInstance(org.drools.core.time.Job job,
                                                                          org.drools.core.time.JobContext ctx,
                                                                          org.drools.core.time.Trigger trigger,
                                                                          org.drools.core.time.JobHandle handle,
                                                                          org.drools.core.time.InternalSchedulerService scheduler)

      Specified by:
        `createTimerJobInstance` in interface `org.drools.core.time.impl.TimerJobFactoryManager`

    - #### addTimerJobInstance

          public void addTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance)

      Specified by:
        `addTimerJobInstance` in interface `org.drools.core.time.impl.TimerJobFactoryManager`

    - #### removeTimerJobInstance

          public void removeTimerJobInstance(org.drools.core.time.impl.TimerJobInstance instance)

      Specified by:
        `removeTimerJobInstance` in interface `org.drools.core.time.impl.TimerJobFactoryManager`

    - #### getTimerJobInstances

          public Collection<org.drools.core.time.impl.TimerJobInstance> getTimerJobInstances()

      Specified by:
        `getTimerJobInstances` in interface `org.drools.core.time.impl.TimerJobFactoryManager`

    - #### getTimerJobInstances

          public Collection<org.drools.core.time.impl.TimerJobInstance> getTimerJobInstances(Long sessionId)

    - #### getCommandService

          public org.drools.core.command.CommandService getCommandService()

      Specified by:
        `getCommandService` in interface `org.drools.core.time.impl.CommandServiceTimerJobFactoryManager`

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