org.hibernate.search.backend.impl
Class EventSourceTransactionContext

java.lang.Object
  extended by org.hibernate.search.backend.impl.EventSourceTransactionContext
All Implemented Interfaces:
Serializable, TransactionContext

public class EventSourceTransactionContext
extends Object
implements TransactionContext, Serializable

Implementation of the transactional context on top of an EventSource (Session)

Author:
Navin Surtani - navin@surtani.org, Emmanuel Bernard, Sanne Grinovero
See Also:
Serialized Form

Constructor Summary
EventSourceTransactionContext(org.hibernate.event.spi.EventSource eventSource)
           
 
Method Summary
 Object getTransactionIdentifier()
           
 boolean isTransactionInProgress()
           
 void registerSynchronization(Synchronization synchronization)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventSourceTransactionContext

public EventSourceTransactionContext(org.hibernate.event.spi.EventSource eventSource)
Method Detail

getTransactionIdentifier

public Object getTransactionIdentifier()
Specified by:
getTransactionIdentifier in interface TransactionContext

registerSynchronization

public void registerSynchronization(Synchronization synchronization)
Specified by:
registerSynchronization in interface TransactionContext

isTransactionInProgress

public boolean isTransactionInProgress()
Specified by:
isTransactionInProgress in interface TransactionContext


Copyright © 2006-2012 Hibernate. All Rights Reserved.