org.keycloak.services

## Class DefaultKeycloakTransactionManager

- java.lang.Object
- - org.keycloak.services.DefaultKeycloakTransactionManager

- All Implemented Interfaces:
    KeycloakTransaction, KeycloakTransactionManager

      public class DefaultKeycloakTransactionManager
      extends Object
      implements KeycloakTransactionManager

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultKeycloakTransactionManager()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `begin()`
    `void` | `commit()`
    `void` | `enlist(KeycloakTransaction transaction)`
    `void` | `enlistAfterCompletion(KeycloakTransaction transaction)`
    `boolean` | `getRollbackOnly()`
    `boolean` | `isActive()`
    `void` | `rollback()`
    `void` | `setRollbackOnly()`

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

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

- - ### Constructor Detail

    - #### DefaultKeycloakTransactionManager

          public DefaultKeycloakTransactionManager()

  - ### Method Detail

    - #### enlist

          public void enlist(KeycloakTransaction transaction)

      Specified by:
        `enlist` in interface `KeycloakTransactionManager`

    - #### enlistAfterCompletion

          public void enlistAfterCompletion(KeycloakTransaction transaction)

      Specified by:
        `enlistAfterCompletion` in interface `KeycloakTransactionManager`

    - #### begin

          public void begin()

      Specified by:
        `begin` in interface `KeycloakTransaction`

    - #### commit

          public void commit()

      Specified by:
        `commit` in interface `KeycloakTransaction`

    - #### rollback

          public void rollback()

      Specified by:
        `rollback` in interface `KeycloakTransaction`

    - #### setRollbackOnly

          public void setRollbackOnly()

      Specified by:
        `setRollbackOnly` in interface `KeycloakTransaction`

    - #### getRollbackOnly

          public boolean getRollbackOnly()

      Specified by:
        `getRollbackOnly` in interface `KeycloakTransaction`

    - #### isActive

          public boolean isActive()

      Specified by:
        `isActive` in interface `KeycloakTransaction`

Copyright © 2014. All Rights Reserved.