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 Details

    • HibernateIdentityStoreSessionImpl

      public HibernateIdentityStoreSessionImpl(org.hibernate.SessionFactory sessionFactory, boolean lazyStartOfHibernateTransaction)
  • Method Details

    • getSessionContext

      public Object getSessionContext()
      Specified by:
      getSessionContext in interface org.picketlink.idm.spi.store.IdentityStoreSession
    • close

      public void close() throws org.picketlink.idm.common.exception.IdentityException
      Specified by:
      close in interface org.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:
      save in interface org.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:
      clear in interface org.picketlink.idm.spi.store.IdentityStoreSession
      Throws:
      org.picketlink.idm.common.exception.IdentityException
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface org.picketlink.idm.spi.store.IdentityStoreSession
    • isTransactionSupported

      public boolean isTransactionSupported()
      Specified by:
      isTransactionSupported in interface org.picketlink.idm.spi.store.IdentityStoreSession
    • startTransaction

      public void startTransaction()
      Specified by:
      startTransaction in interface org.picketlink.idm.spi.store.IdentityStoreSession
    • commitTransaction

      public void commitTransaction()
      Specified by:
      commitTransaction in interface org.picketlink.idm.spi.store.IdentityStoreSession
    • rollbackTransaction

      public void rollbackTransaction()
      Specified by:
      rollbackTransaction in interface org.picketlink.idm.spi.store.IdentityStoreSession
    • isTransactionActive

      public boolean isTransactionActive()
      Specified by:
      isTransactionActive in interface org.picketlink.idm.spi.store.IdentityStoreSession