class H2DbInfoExtractor implements DbInfoExtractor {

    @Override
    public int getHeight(String dbPath) {
        JdbcConnectionPool dataSource = createDataSource(dbPath);
        if (dataSource != null) {
            int height = getHeight(dataSource);
            shutdownDb(dataSource);
            return height;
        } else return 0;
    }

    @Inject public  H2DbInfoExtractor(@Property("apl.dbUsername") String user,
                             @Property("apl.dbPassword") String password);

}