Package org.keycloak.transaction
Class UserTransactionWrapper
- java.lang.Object
-
- org.keycloak.transaction.UserTransactionWrapper
-
- All Implemented Interfaces:
KeycloakTransaction
public class UserTransactionWrapper extends Object implements KeycloakTransaction
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.transaction.UserTransaction
ut
-
Constructor Summary
Constructors Constructor Description UserTransactionWrapper(javax.transaction.UserTransaction ut)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin()
void
commit()
boolean
getRollbackOnly()
boolean
isActive()
void
rollback()
void
setRollbackOnly()
-
-
-
Method Detail
-
begin
public void begin()
- Specified by:
begin
in interfaceKeycloakTransaction
-
commit
public void commit()
- Specified by:
commit
in interfaceKeycloakTransaction
-
rollback
public void rollback()
- Specified by:
rollback
in interfaceKeycloakTransaction
-
setRollbackOnly
public void setRollbackOnly()
- Specified by:
setRollbackOnly
in interfaceKeycloakTransaction
-
getRollbackOnly
public boolean getRollbackOnly()
- Specified by:
getRollbackOnly
in interfaceKeycloakTransaction
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceKeycloakTransaction
-
-