Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.process.core.timer.impl
Class QuartzSchedulerService

    java.lang.Object
      org.jbpm.process.core.timer.impl.QuartzSchedulerService

All Implemented Interfaces:
  org.drools.core.time.InternalSchedulerService, org.drools.core.time.SchedulerService, GlobalSchedulerService

    public class QuartzSchedulerService

extends Object
implements GlobalSchedulerService

Quartz based `GlobalSchedulerService` that is configured according to Quartz rules and allows to store jobs in data base. With that it survives server crashes and operates as soon as service is initialized without session being active.

Nested Class Summary
`static class` | `QuartzSchedulerService.GlobalQuartzJobHandle`
`static class` | `QuartzSchedulerService.InmemoryTimerJobInstanceDelegate`
`static class` | `QuartzSchedulerService.QuartzJob`

Constructor Summary
`QuartzSchedulerService()`

Method Summary
`void` | `initScheduler(org.drools.core.time.TimerService timerService)` Provides handle to inject timerService that owns this scheduler service and initialize it
`void` | `internalSchedule(org.drools.core.time.impl.TimerJobInstance timerJobInstance)`
`boolean` | `removeJob(org.drools.core.time.JobHandle jobHandle)`
`org.drools.core.time.JobHandle` | `scheduleJob(org.drools.core.time.Job job, org.drools.core.time.JobContext ctx, org.drools.core.time.Trigger trigger)`
`void` | `shutdown()` Allows to shutdown the scheduler service

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### QuartzSchedulerService

    public QuartzSchedulerService()

Method Detail

### scheduleJob

    public org.drools.core.time.JobHandle scheduleJob(org.drools.core.time.Job job,
                                                      org.drools.core.time.JobContext ctx,
                                                      org.drools.core.time.Trigger trigger)

  Specified by:
    `scheduleJob` in interface `org.drools.core.time.SchedulerService`

### removeJob

    public boolean removeJob(org.drools.core.time.JobHandle jobHandle)

  Specified by:
    `removeJob` in interface `org.drools.core.time.SchedulerService`

### internalSchedule

    public void internalSchedule(org.drools.core.time.impl.TimerJobInstance timerJobInstance)

  Specified by:
    `internalSchedule` in interface `org.drools.core.time.InternalSchedulerService`

### initScheduler

    public void initScheduler(org.drools.core.time.TimerService timerService)

  Description copied from interface: `GlobalSchedulerService`
  Provides handle to inject timerService that owns this scheduler service and initialize it

  Specified by:
    `initScheduler` in interface `GlobalSchedulerService`
  Parameters:
    `timerService` - owner of this scheduler service

### shutdown

    public void shutdown()

  Description copied from interface: `GlobalSchedulerService`
  Allows to shutdown the scheduler service

  Specified by:
    `shutdown` in interface `GlobalSchedulerService`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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