Package org.keycloak.services
Class DefaultKeycloakTransactionManager
java.lang.Object
org.keycloak.services.DefaultKeycloakTransactionManager
- All Implemented Interfaces:
KeycloakTransaction
,KeycloakTransactionManager
- Author:
- Stian Thorgersen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.KeycloakTransactionManager
KeycloakTransactionManager.JTAPolicy
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
commit()
void
enlist
(KeycloakTransaction transaction) void
enlistAfterCompletion
(KeycloakTransaction transaction) void
enlistPrepare
(KeycloakTransaction transaction) boolean
boolean
isActive()
void
rollback()
protected void
rollback
(RuntimeException exception) void
void
-
Field Details
-
completed
protected boolean completed
-
-
Constructor Details
-
DefaultKeycloakTransactionManager
-
-
Method Details
-
enlist
- Specified by:
enlist
in interfaceKeycloakTransactionManager
-
enlistAfterCompletion
- Specified by:
enlistAfterCompletion
in interfaceKeycloakTransactionManager
-
enlistPrepare
- Specified by:
enlistPrepare
in interfaceKeycloakTransactionManager
-
getJTAPolicy
- Specified by:
getJTAPolicy
in interfaceKeycloakTransactionManager
-
setJTAPolicy
- Specified by:
setJTAPolicy
in interfaceKeycloakTransactionManager
-
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
-
rollback
-
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
-