Class SessionFactoryManager

  • All Implemented Interfaces:
    io.dropwizard.lifecycle.Managed

    public class SessionFactoryManager
    extends Object
    implements io.dropwizard.lifecycle.Managed
    • Constructor Detail

      • SessionFactoryManager

        public SessionFactoryManager​(org.hibernate.SessionFactory factory,
                                     ManagedDataSource dataSource)
    • Method Detail

      • start

        public void start()
                   throws Exception
        Specified by:
        start in interface io.dropwizard.lifecycle.Managed
        Throws:
        Exception
      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface io.dropwizard.lifecycle.Managed
        Throws:
        Exception