1 24 25 package com.mckoi.database.jdbc; 26 27 import com.mckoi.database.control.DBConfig; 28 import java.io.File ; 29 import java.sql.SQLException ; 30 31 38 39 public interface LocalBootable { 40 41 49 DatabaseInterface create(String username, String password, 50 DBConfig config) throws SQLException ; 51 52 58 DatabaseInterface boot(DBConfig config) throws SQLException ; 59 60 66 boolean checkExists(DBConfig config) throws SQLException ; 67 68 72 boolean isBooted() throws SQLException ; 73 74 79 DatabaseInterface connectToJVM() throws SQLException ; 80 81 } 82 | Popular Tags |