Package org.keycloak.transaction
Class JtaTransactionWrapper
java.lang.Object
org.keycloak.transaction.JtaTransactionWrapper
- All Implemented Interfaces:
KeycloakTransaction
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJtaTransactionWrapper
(KeycloakSession session, jakarta.transaction.TransactionManager tm) -
Method Summary
-
Field Details
-
tm
protected jakarta.transaction.TransactionManager tm -
ut
protected jakarta.transaction.Transaction ut -
suspended
protected jakarta.transaction.Transaction suspended -
ended
-
session
-
-
Constructor Details
-
JtaTransactionWrapper
-
-
Method Details
-
handleException
-
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
-
end
protected void end()
-