public class GadgetDataServiceDAOFactory extends Object
| Constructor and Description |
|---|
GadgetDataServiceDAOFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeConnection() |
static Connection |
getConnection() |
static GadgetDataServiceDAO |
getGadgetDataServiceDAO() |
static void |
init(DataSource dtSource) |
static void |
init(org.wso2.carbon.device.mgt.core.config.datasource.DataSourceConfig config) |
static void |
openConnection() |
public static GadgetDataServiceDAO getGadgetDataServiceDAO()
public static void init(org.wso2.carbon.device.mgt.core.config.datasource.DataSourceConfig config)
public static void init(DataSource dtSource)
public static void openConnection()
throws SQLException
SQLExceptionpublic static Connection getConnection() throws SQLException
SQLExceptionpublic static void closeConnection()
Copyright © 2017 WSO2. All rights reserved.