|
|
@ -76,6 +76,7 @@ public class MobileDeviceManagementServiceComponent {
|
|
|
|
config.getMobileDeviceMgtRepository().getMobileDataSourceConfigMap();
|
|
|
|
config.getMobileDeviceMgtRepository().getMobileDataSourceConfigMap();
|
|
|
|
MobileDeviceManagementDAOFactory.setMobileDataSourceConfigMap(dsConfigMap);
|
|
|
|
MobileDeviceManagementDAOFactory.setMobileDataSourceConfigMap(dsConfigMap);
|
|
|
|
MobileDeviceManagementDAOFactory.init();
|
|
|
|
MobileDeviceManagementDAOFactory.init();
|
|
|
|
|
|
|
|
|
|
|
|
String setupOption = System.getProperty("setup");
|
|
|
|
String setupOption = System.getProperty("setup");
|
|
|
|
if (setupOption != null) {
|
|
|
|
if (setupOption != null) {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
@ -135,9 +136,9 @@ public class MobileDeviceManagementServiceComponent {
|
|
|
|
protected void setDataSourceService(DataSourceService dataSourceService) {
|
|
|
|
protected void setDataSourceService(DataSourceService dataSourceService) {
|
|
|
|
/* This is to avoid mobile device management component getting initialized before the underlying datasources
|
|
|
|
/* This is to avoid mobile device management component getting initialized before the underlying datasources
|
|
|
|
are registered */
|
|
|
|
are registered */
|
|
|
|
if (log.isDebugEnabled()){
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
log.debug("Data source service set to mobile service component");
|
|
|
|
log.debug("Data source service set to mobile service component");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected void unsetDataSourceService(DataSourceService dataSourceService) {
|
|
|
|
protected void unsetDataSourceService(DataSourceService dataSourceService) {
|
|
|
|