mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Commented MobileActivator jndi lookup code
This commit is contained in:
parent
4a419f3ebf
commit
95f72f77f1
@ -43,12 +43,12 @@ public class MobileDeviceManagementBundleActivator implements BundleActivator {
|
||||
public void start(BundleContext bundleContext) throws Exception {
|
||||
try {
|
||||
//Initialize Mobile Device Management datasource
|
||||
MobileDeviceConfigurationManager.getInstance().initConfig();
|
||||
MobileDeviceManagementConfig config = MobileDeviceConfigurationManager.getInstance()
|
||||
.getMobileDeviceManagementConfig();
|
||||
MobileDataSourceConfig
|
||||
dsConfig = config.getMobileDeviceMgtRepository().getMobileDataSourceConfig();
|
||||
MobileDeviceManagementDAOFactory.init(dsConfig);
|
||||
// MobileDeviceConfigurationManager.getInstance().initConfig();
|
||||
// MobileDeviceManagementConfig config = MobileDeviceConfigurationManager.getInstance()
|
||||
// .getMobileDeviceManagementConfig();
|
||||
// MobileDataSourceConfig
|
||||
// dsConfig = config.getMobileDeviceMgtRepository().getMobileDataSourceConfig();
|
||||
// MobileDeviceManagementDAOFactory.init(dsConfig);
|
||||
|
||||
/* If -Dsetup option enabled then create device management database schema */
|
||||
String setupOption = System.getProperty("setup");
|
||||
@ -58,7 +58,7 @@ public class MobileDeviceManagementBundleActivator implements BundleActivator {
|
||||
"-Dsetup is enabled. Mobile Device management repository schema initialization is about " +
|
||||
"to begin");
|
||||
}
|
||||
setupMobileDeviceManagementSchema(dsConfig);
|
||||
setupMobileDeviceManagementSchema(null);
|
||||
}
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user