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

## org.jbpm.persistence.timer
Class GlobalJpaTimerJobInstance

    java.lang.Object
      org.drools.core.time.impl.DefaultTimerJobInstance
          org.drools.persistence.jpa.JpaTimerJobInstance
              org.jbpm.persistence.timer.GlobalJpaTimerJobInstance

All Implemented Interfaces:
  Serializable, Comparable<org.drools.core.time.impl.DefaultTimerJobInstance>, Callable<Void>, org.drools.core.time.impl.TimerJobInstance

    public class GlobalJpaTimerJobInstance

extends org.drools.persistence.jpa.JpaTimerJobInstance

Extension to the regular `JpaTimerJobInstance` that makes use of GlobalTimerService to allow auto reactivate session. Important to note is that when timer service created session this job instance will dispose that session to leave it in the same state it was before job was executed to avoid concurrent usage of the same session by different threads

See Also:
  Serialized Form

Field Summary

Fields inherited from class org.drools.core.time.impl.DefaultTimerJobInstance
`scheduler`

Constructor Summary
`GlobalJpaTimerJobInstance(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)`

Method Summary
`Void` | `call()`

Methods inherited from class org.drools.core.time.impl.DefaultTimerJobInstance
`compareTo, getJob, getJobContext, getJobHandle, getTrigger`

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

Constructor Detail

### GlobalJpaTimerJobInstance

    public GlobalJpaTimerJobInstance(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)

Method Detail

### call

    public Void call()
              throws Exception

  Specified by:
    `call` in interface `Callable<Void>`
  Overrides:
    `call` in class `org.drools.persistence.jpa.JpaTimerJobInstance`
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta2
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.