public class TransactionInterceptorProviders extends Object
Constructor and Description |
---|
TransactionInterceptorProviders(Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> providers,
DependencyResolver resolver) |
Modifier and Type | Method and Description |
---|---|
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() |
public TransactionInterceptorProviders(Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> providers, DependencyResolver resolver)
public org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptor resolveChain(org.neo4j.kernel.impl.transaction.xaframework.XaDataSource ds)
ds
- The datasource to instantiate the TransactionInterceptors withpublic boolean shouldInterceptCommitting()
public boolean shouldInterceptDeserialized()
public boolean hasAnyInterceptorConfigured()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.