Package org.keycloak.transaction
Class JBossJtaTransactionManagerLookup
- java.lang.Object
-
- org.keycloak.transaction.JBossJtaTransactionManagerLookup
-
- All Implemented Interfaces:
Provider
,ProviderFactory<JtaTransactionManagerLookup>
,JtaTransactionManagerLookup
public class JBossJtaTransactionManagerLookup extends Object implements JtaTransactionManagerLookup
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description JBossJtaTransactionManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
javax.transaction.TransactionManager
getTransactionManager()
void
init(Config.Scope config)
Only called once when the factory is first created.void
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.transaction.JtaTransactionManagerLookup
close, create
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
-
-
-
Method Detail
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()
- Specified by:
getTransactionManager
in interfaceJtaTransactionManagerLookup
-
init
public void init(Config.Scope config)
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<JtaTransactionManagerLookup>
-
postInit
public void postInit(KeycloakSessionFactory factory)
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<JtaTransactionManagerLookup>
-
getId
public String getId()
- Specified by:
getId
in interfaceProviderFactory<JtaTransactionManagerLookup>
-
-