Class ExoHibernateIdentityStoreSessionImpl
java.lang.Object
org.picketlink.idm.impl.store.hibernate.ExoHibernateIdentityStoreSessionImpl
- All Implemented Interfaces:
org.picketlink.idm.spi.store.IdentityStoreSession
public class ExoHibernateIdentityStoreSessionImpl
extends Object
implements org.picketlink.idm.spi.store.IdentityStoreSession
Wrapper around HibernateEntityManager This class replaces the original
PicketLink HibernateIdentityStoreSessionImpl class to fix transaction status
management.
-
Constructor Summary
ConstructorsConstructorDescriptionExoHibernateIdentityStoreSessionImpl(org.hibernate.SessionFactory sessionFactory, boolean lazyStartOfHibernateTransaction) -
Method Summary
-
Constructor Details
-
ExoHibernateIdentityStoreSessionImpl
public ExoHibernateIdentityStoreSessionImpl(org.hibernate.SessionFactory sessionFactory, boolean lazyStartOfHibernateTransaction)
-
-
Method Details
-
getSessionContext
- Specified by:
getSessionContextin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
close
public void close() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
closein interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
save
public void save() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
savein interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
clear
public void clear() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
clearin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
isTransactionSupported
public boolean isTransactionSupported()- Specified by:
isTransactionSupportedin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
startTransaction
public void startTransaction()- Specified by:
startTransactionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
commitTransaction
public void commitTransaction()- Specified by:
commitTransactionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
rollbackTransaction
public void rollbackTransaction()- Specified by:
rollbackTransactionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
isTransactionActive
public boolean isTransactionActive()- Specified by:
isTransactionActivein interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-