org.wso2.carbon.device.mgt.mobile.dao.util
Class MobileDeviceManagementDAOUtil
java.lang.Object
org.wso2.carbon.device.mgt.mobile.dao.util.MobileDeviceManagementDAOUtil
public class MobileDeviceManagementDAOUtil
- extends Object
Utility method required by MobileDeviceManagement DAO classes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MobileDeviceManagementDAOUtil
public MobileDeviceManagementDAOUtil()
lookupDataSource
public static DataSource lookupDataSource(String dataSourceName,
Hashtable<Object,Object> jndiProperties)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
cleanupResources
public static void cleanupResources(Connection conn,
PreparedStatement stmt,
ResultSet rs)
setupMobileDeviceManagementSchema
public static void setupMobileDeviceManagementSchema(DataSource dataSource)
throws org.wso2.carbon.device.mgt.common.DeviceManagementException
- Creates the mobile device management schema.
- Parameters:
dataSource - Mobile data source
- Throws:
org.wso2.carbon.device.mgt.common.DeviceManagementException
Copyright © 2015 WSO2. All rights reserved.