Package org.eclipse.rdf4j.spring.tx

## Class TransactionalRepositoryConnectionFactory

- java.lang.Object
- - org.eclipse.rdf4j.spring.tx.TransactionalRepositoryConnectionFactory

- All Implemented Interfaces:
    `RepositoryConnectionFactory`

      public class TransactionalRepositoryConnectionFactory
      extends Object
      implements RepositoryConnectionFactory

  Since:
    4.0.0
  Author:
    ameingast@gmail.com, Florian Kleedorfer

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TransactionalRepositoryConnectionFactory​(RepositoryConnectionFactory delegateFactory)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `closeConnection()` |
    `TransactionObject` | `createTransaction()` |
    `void` | `endTransaction​(boolean rollback)` |
    `RepositoryConnection` | `getConnection()` |
    `TransactionObject` | `getTransactionData()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TransactionalRepositoryConnectionFactory

          public TransactionalRepositoryConnectionFactory​(RepositoryConnectionFactory delegateFactory)

  - ### Method Detail

    - #### getTransactionData

          public TransactionObject getTransactionData()

    - #### getConnection

          public RepositoryConnection getConnection()

      Specified by:
        `getConnection` in interface `RepositoryConnectionFactory`

    - #### closeConnection

          public void closeConnection()

    - #### createTransaction

          public TransactionObject createTransaction()

    - #### endTransaction

          public void endTransaction​(boolean rollback)