org.neo4j.kernel
Class TransactionInterceptorProviders
java.lang.Object
org.neo4j.kernel.TransactionInterceptorProviders
public class TransactionInterceptorProviders
- extends Object
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 |
TransactionInterceptorProviders
public TransactionInterceptorProviders(Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> providers,
DependencyResolver resolver)
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.