Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.dropwizard.hibernate;
 
 
 public class SessionFactoryManager implements Managed {
     private final SessionFactory factory;
     private final ManagedDataSource dataSource;
    public SessionFactoryManager(SessionFactory factoryManagedDataSource dataSource) {
        this. = factory;
        this. = dataSource;
    }
    @Override
    public void start() throws Exception {
    }
    @Override
    public void stop() throws Exception {
        .close();
        .stop();
    }
New to GrepCode? Check out our FAQ X