org.teiid.test.client
Class TransactionFactory

java.lang.Object
  extended by org.teiid.test.client.TransactionFactory

public class TransactionFactory
extends Object

TransactionFactory is used so that the type of TransactionContainer can be dynamically loaded based on a property. Specify the property TRANSACTION_TYPE in order to set the transaction type to use.

Author:
vanhalbert

Nested Class Summary
static interface TransactionFactory.TRANSACTION_TYPES
           
 
Field Summary
static String TRANSACTION_TYPE
          Transaction Type indicates the type of transaction container to use
 
Method Summary
static TransactionContainer create(ConfigPropertyLoader config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSACTION_TYPE

public static final String TRANSACTION_TYPE
Transaction Type indicates the type of transaction container to use

See Also:
TransactionFactory, Constant Field Values
Method Detail

create

public static TransactionContainer create(ConfigPropertyLoader config)
                                   throws QueryTestFailedException
Throws:
QueryTestFailedException


Copyright © 2012. All Rights Reserved.