Class HotRodRemoteTransactionWrapper
- java.lang.Object
- 
- org.keycloak.models.map.storage.hotRod.transaction.HotRodRemoteTransactionWrapper
 
- 
- All Implemented Interfaces:
- KeycloakTransaction
 
 public class HotRodRemoteTransactionWrapper extends Object implements KeycloakTransaction When no JTA transaction is present in the runtime this wrapper is used to enlist HotRod client provided transaction to ourKeycloakTransactionManager. If JTA transaction is present this should not be used.
- 
- 
Constructor SummaryConstructors Constructor Description HotRodRemoteTransactionWrapper(javax.transaction.TransactionManager transactionManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voidcommit()booleangetRollbackOnly()booleanisActive()voidrollback()voidsetRollbackOnly()
 
- 
- 
- 
Method Detail- 
beginpublic void begin() - Specified by:
- beginin interface- KeycloakTransaction
 
 - 
commitpublic void commit() - Specified by:
- commitin interface- KeycloakTransaction
 
 - 
rollbackpublic void rollback() - Specified by:
- rollbackin interface- KeycloakTransaction
 
 - 
setRollbackOnlypublic void setRollbackOnly() - Specified by:
- setRollbackOnlyin interface- KeycloakTransaction
 
 - 
getRollbackOnlypublic boolean getRollbackOnly() - Specified by:
- getRollbackOnlyin interface- KeycloakTransaction
 
 - 
isActivepublic boolean isActive() - Specified by:
- isActivein interface- KeycloakTransaction
 
 
- 
 
-