Class HotRodTransactionManagerLookup
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.transaction.HotRodTransactionManagerLookup
-
- All Implemented Interfaces:
org.infinispan.commons.tx.lookup.TransactionManagerLookup
public class HotRodTransactionManagerLookup extends Object implements org.infinispan.commons.tx.lookup.TransactionManagerLookup
HotRod client provides its ownGenericTransactionManagerLookup
that is able to locate variety of JTA transaction implementation present in the runtime. We need to make sure we use JTA only when it is detected by other parts of Keycloak (such asKeycloakTransactionManager
), therefore we implemented this custom TransactionManagerLookup that locates JTA transaction usingJtaTransactionManagerLookup
provider
-
-
Constructor Summary
Constructors Constructor Description HotRodTransactionManagerLookup(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.transaction.TransactionManager
getTransactionManager()
-
-
-
Constructor Detail
-
HotRodTransactionManagerLookup
public HotRodTransactionManagerLookup(KeycloakSession session)
-
-