org.neo4j.kernel
Class TransactionInterceptorProviders

java.lang.Object
  extended by org.neo4j.kernel.TransactionInterceptorProviders

public class TransactionInterceptorProviders
extends Object


Constructor Summary
TransactionInterceptorProviders(Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> providers, DependencyResolver resolver)
           
 
Method Summary
 boolean hasAnyInterceptorConfigured()
           
 org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptor resolveChain(org.neo4j.kernel.impl.transaction.xaframework.XaDataSource ds)
          A utility method that given some TransactionInterceptorProviders and their configuration objects returns a fully resolved chain of TransactionInterceptors - the return object is the first interceptor in the chain.
 boolean shouldInterceptCommitting()
           
 boolean shouldInterceptDeserialized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionInterceptorProviders

public TransactionInterceptorProviders(Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> providers,
                                       DependencyResolver resolver)
Method Detail

resolveChain

public org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptor resolveChain(org.neo4j.kernel.impl.transaction.xaframework.XaDataSource ds)
A utility method that given some TransactionInterceptorProviders and their configuration objects returns a fully resolved chain of TransactionInterceptors - the return object is the first interceptor in the chain.

Parameters:
ds - The datasource to instantiate the TransactionInterceptors with
Returns:
The fist interceptor in the chain, possibly null

shouldInterceptCommitting

public boolean shouldInterceptCommitting()

shouldInterceptDeserialized

public boolean shouldInterceptDeserialized()

hasAnyInterceptorConfigured

public boolean hasAnyInterceptorConfigured()


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.