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

## org.hibernate.search.backend
Interface TransactionContext

All Known Implementing Classes:
  EventSourceTransactionContext, InstanceTransactionContext

    public interface TransactionContext

Contract needed by Hibernate Search to batch changes per transaction.

Author:
  Navin Surtani - navin@surtani.org

Method Summary
`java.lang.Object` | `getTransactionIdentifier()`
`boolean` | `isTransactionInProgress()`
`void` | `registerSynchronization(javax.transaction.Synchronization synchronization)` Register the given synchronization.

Method Detail

### isTransactionInProgress

    boolean isTransactionInProgress()

  Returns:
    A boolean indicating whether a transaction is in progress or not.

### getTransactionIdentifier

    java.lang.Object getTransactionIdentifier()

  Returns:
    a transaction object.

### registerSynchronization

    void registerSynchronization(javax.transaction.Synchronization synchronization)

  Register the given synchronization.

  Parameters:
    `synchronization` - synchronization to register

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

Copyright © 2006-2010 Hibernate. All Rights Reserved.