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

## org.jbpm.runtime.manager.impl.tx
Class DisposeSessionTransactionSynchronization

    java.lang.Object
      org.drools.persistence.OrderedTransactionSynchronization
          org.jbpm.runtime.manager.impl.tx.DisposeSessionTransactionSynchronization

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

    public class DisposeSessionTransactionSynchronization

extends org.drools.persistence.OrderedTransactionSynchronization

Transaction synchronization that disposes of the `KieSession` instance on transaction completion during the `afterCompletion` phase.

Constructor Summary
`DisposeSessionTransactionSynchronization(RuntimeManager manager, RuntimeEngine runtime)`

Method Summary
`void` | `afterCompletion(int status)`
`void` | `beforeCompletion()`

Methods inherited from class org.drools.persistence.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

### DisposeSessionTransactionSynchronization

    public DisposeSessionTransactionSynchronization(RuntimeManager manager,
                                                    RuntimeEngine runtime)

Method Detail

### beforeCompletion

    public void beforeCompletion()

### afterCompletion

    public void afterCompletion(int status)

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

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