org.jbpm.runtime.manager.impl.tx

## Class DestroySessionTransactionSynchronization

- java.lang.Object
- - org.drools.persistence.api.OrderedTransactionSynchronization
  - - org.jbpm.runtime.manager.impl.tx.DestroySessionTransactionSynchronization

- All Implemented Interfaces:
    Comparable<org.drools.persistence.api.OrderedTransactionSynchronization>, org.drools.persistence.api.TransactionSynchronization

      public class DestroySessionTransactionSynchronization
      extends org.drools.persistence.api.OrderedTransactionSynchronization

  Transaction synchronization implementation that destroys the `KieSession` instance in the `beforeCompletion` call executed for the current transaction.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DestroySessionTransactionSynchronization(org.kie.api.runtime.KieSession ksession)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `afterCompletion(int status)`
    `void` | `beforeCompletion()`

    - ### Methods inherited from class org.drools.persistence.api.OrderedTransactionSynchronization

      `compareTo, getIdentifier, getOrder, setIdentifier, setOrder`

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

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

- - ### Constructor Detail

    - #### DestroySessionTransactionSynchronization

          public DestroySessionTransactionSynchronization(org.kie.api.runtime.KieSession ksession)

  - ### Method Detail

    - #### beforeCompletion

          public void beforeCompletion()

    - #### afterCompletion

          public void afterCompletion(int status)

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