Class HibernateIdentityStoreSessionImpl
java.lang.Object
org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreSessionImpl
- All Implemented Interfaces:
org.picketlink.idm.spi.store.IdentityStoreSession
public class HibernateIdentityStoreSessionImpl
extends Object
implements org.picketlink.idm.spi.store.IdentityStoreSession
Wrapper around HibernateEntityManager
- Version:
- : 0.1 $
- Author:
- Boleslaw Dawidowicz
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateIdentityStoreSessionImpl(org.hibernate.SessionFactory sessionFactory, boolean lazyStartOfHibernateTransaction) -
Method Summary
-
Constructor Details
-
HibernateIdentityStoreSessionImpl
public HibernateIdentityStoreSessionImpl(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
-