org.jbpm.services.task.persistence

## Class PersistableEventListener

- java.lang.Object
- - org.jbpm.services.task.persistence.PersistableEventListener

- All Implemented Interfaces:
    EventListener, org.kie.api.task.TaskLifeCycleEventListener
  Direct Known Subclasses:
    BAMTaskEventListener, JPATaskLifeCycleEventListener

      public abstract class PersistableEventListener
      extends Object
      implements org.kie.api.task.TaskLifeCycleEventListener

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PersistableEventListener(javax.persistence.EntityManagerFactory emf)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `cleanup(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)`
    `protected org.kie.internal.task.api.TaskPersistenceContext` | `getPersistenceContext(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)`

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

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

    - ### Methods inherited from interface org.kie.api.task.TaskLifeCycleEventListener

      `afterTaskActivatedEvent, afterTaskAddedEvent, afterTaskClaimedEvent, afterTaskCompletedEvent, afterTaskDelegatedEvent, afterTaskExitedEvent, afterTaskFailedEvent, afterTaskForwardedEvent, afterTaskNominatedEvent, afterTaskReleasedEvent, afterTaskResumedEvent, afterTaskSkippedEvent, afterTaskStartedEvent, afterTaskStoppedEvent, afterTaskSuspendedEvent, beforeTaskActivatedEvent, beforeTaskAddedEvent, beforeTaskClaimedEvent, beforeTaskCompletedEvent, beforeTaskDelegatedEvent, beforeTaskExitedEvent, beforeTaskFailedEvent, beforeTaskForwardedEvent, beforeTaskNominatedEvent, beforeTaskReleasedEvent, beforeTaskResumedEvent, beforeTaskSkippedEvent, beforeTaskStartedEvent, beforeTaskStoppedEvent, beforeTaskSuspendedEvent`

- - ### Constructor Detail

    - #### PersistableEventListener

          public PersistableEventListener(javax.persistence.EntityManagerFactory emf)

  - ### Method Detail

    - #### getPersistenceContext

          protected org.kie.internal.task.api.TaskPersistenceContext getPersistenceContext(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)

    - #### cleanup

          protected void cleanup(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)

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