org.hibernate.testing.jta
Class TestingJtaBootstrap

java.lang.Object
  extended by org.hibernate.testing.jta.TestingJtaBootstrap

public class TestingJtaBootstrap
extends Object

Manages the TransactionManager, UserTransaction and DataSource instances used for testing.


Field Summary
static TestingJtaBootstrap INSTANCE
           
 
Method Summary
 DataSource getDataSource()
           
 TransactionManager getTransactionManager()
           
 UserTransaction getUserTransaction()
           
static void prepare(Map configValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TestingJtaBootstrap INSTANCE
Method Detail

getTransactionManager

public TransactionManager getTransactionManager()

getUserTransaction

public UserTransaction getUserTransaction()

getDataSource

public DataSource getDataSource()

prepare

public static void prepare(Map configValues)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.