org.neo4j.backup.log
Class VerifyingTransactionInterceptorProvider

java.lang.Object
  extended by org.neo4j.helpers.Service
      extended by org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider
          extended by org.neo4j.backup.log.VerifyingTransactionInterceptorProvider

public class VerifyingTransactionInterceptorProvider
extends TransactionInterceptorProvider


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.helpers.Service
Service.CaseInsensitiveService, Service.Implementation
 
Field Summary
static String NAME
           
 
Constructor Summary
VerifyingTransactionInterceptorProvider()
           
 
Method Summary
 org.neo4j.backup.log.VerifyingTransactionInterceptor create(TransactionInterceptor next, XaDataSource ds, Object options)
          Creates a TransactionInterceptor with the given datasource and options and the given TransactionInterceptor as the next in the chain.
 org.neo4j.backup.log.VerifyingTransactionInterceptor create(XaDataSource ds, Object options)
          Creates a TransactionInterceptor with the given datasource and options.
 String name()
          Returns the name of this provider
 
Methods inherited from class org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider
resolveChain
 
Methods inherited from class org.neo4j.helpers.Service
load, load, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

VerifyingTransactionInterceptorProvider

public VerifyingTransactionInterceptorProvider()
Method Detail

name

public String name()
Description copied from class: TransactionInterceptorProvider
Returns the name of this provider

Specified by:
name in class TransactionInterceptorProvider
Returns:
The name of this provider

create

public org.neo4j.backup.log.VerifyingTransactionInterceptor create(XaDataSource ds,
                                                                   Object options)
Description copied from class: TransactionInterceptorProvider
Creates a TransactionInterceptor with the given datasource and options. It is possible for this method to return null, signifying that the options passed did not allow for instantiation.

Specified by:
create in class TransactionInterceptorProvider
Parameters:
ds - The datasource the TransactionInterceptor will communicate with
options - An object that can be the options to instantiate the interceptor with - e.g "false" to prevent instantiation
Returns:
An implementation of TransactionInterceptor or null if the options say so.

create

public org.neo4j.backup.log.VerifyingTransactionInterceptor create(TransactionInterceptor next,
                                                                   XaDataSource ds,
                                                                   Object options)
Description copied from class: TransactionInterceptorProvider
Creates a TransactionInterceptor with the given datasource and options and the given TransactionInterceptor as the next in the chain. It is possible for this method to return null, signifying that the options passed did not allow for instantiation.

Specified by:
create in class TransactionInterceptorProvider
Parameters:
next - The next interceptor in the chain - can be null
ds - The datasource the TransactionInterceptor will communicate with
options - An object that can be the options to instantiate the interceptor with - e.g "false" to prevent instantiation
Returns:
An implementation of TransactionInterceptor or null if the options say so.


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