org.wso2.carbon.device.mgt.mobile.dao.util
Class MobileDeviceManagementDAOUtil

java.lang.Object
  extended by org.wso2.carbon.device.mgt.mobile.dao.util.MobileDeviceManagementDAOUtil

public class MobileDeviceManagementDAOUtil
extends Object

Utility method required by MobileDeviceManagement DAO classes.


Constructor Summary
MobileDeviceManagementDAOUtil()
           
 
Method Summary
static void cleanupResources(Connection conn, PreparedStatement stmt, ResultSet rs)
           
static DataSource lookupDataSource(String dataSourceName, Hashtable<Object,Object> jndiProperties)
           
static void setupMobileDeviceManagementSchema(DataSource dataSource)
          Creates the mobile device management schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileDeviceManagementDAOUtil

public MobileDeviceManagementDAOUtil()
Method Detail

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.