TestingJtaBootstrap (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.testing.jta
Class TestingJtaBootstrap

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

    public class TestingJtaBootstrap

extends Object

Manages the `TransactionManager`, `UserTransaction` and `TestingJtaBootstrap.JtaAwareDataSource` instances used for testing.

Nested Class Summary
`static class` | `TestingJtaBootstrap.JtaAwareDataSource`
`static class` | `TestingJtaBootstrap.JtaAwareDataSourceConnectionProvider`
`static class` | `TestingJtaBootstrap.TestingJtaPlatformImpl`

Field Summary
`static TestingJtaBootstrap` | `INSTANCE`

Method Summary
`DataSource` | `getDataSource()`
`TransactionManager` | `getTransactionManager()`
`static void` | `prepare(Map configValues)`
`static void` | `tryCommit()` Used by envers...

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()

### getDataSource

    public DataSource getDataSource()

### prepare

    public static void prepare(Map configValues)

### tryCommit

    public static void tryCommit()
                          throws Exception

  Used by envers...

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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