use of org.wso2.carbon.h2.osgi.console.H2DatabaseManager in project jaggery by wso2.
the class ShellUtilityService method initializeUtilityServices.
/**
* Initialize utility services for command line client
* @throws SQLException
*
*/
protected static void initializeUtilityServices() throws SQLException {
//H2 database
final H2DatabaseManager databaseManager = H2DatabaseManager.getInstance();
databaseManager.initialize();
}
use of org.wso2.carbon.h2.osgi.console.H2DatabaseManager in project jaggery by wso2.
the class ShellUtilityService method destroyUtilityServices.
/**
* Destroy utility services for command line client
*
*/
protected static void destroyUtilityServices() {
//H2 database
final H2DatabaseManager databaseManager = H2DatabaseManager.getInstance();
databaseManager.terminate();
}
Aggregations