Class MicronautCurrentSessionContextClassProvider

  • All Implemented Interfaces:
    io.micronaut.configuration.hibernate.jpa.HibernateCurrentSessionContextClassProvider

    @Primary
    @Singleton
    public class MicronautCurrentSessionContextClassProvider
    extends java.lang.Object
    implements io.micronaut.configuration.hibernate.jpa.HibernateCurrentSessionContextClassProvider
    Micronaut Hibernate session class provider.
    Author:
    Denis Stepanov
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends org.hibernate.context.spi.CurrentSessionContext> get()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MicronautCurrentSessionContextClassProvider

        public MicronautCurrentSessionContextClassProvider()
    • Method Detail

      • get

        public java.lang.Class<? extends org.hibernate.context.spi.CurrentSessionContext> get()
        Specified by:
        get in interface io.micronaut.configuration.hibernate.jpa.HibernateCurrentSessionContextClassProvider
        Returns:
        SpringSessionContext