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 {
|
public void start(BundleContext bundleContext) throws Exception {
|
||||||
try {
|
try {
|
||||||
//Initialize Mobile Device Management datasource
|
//Initialize Mobile Device Management datasource
|
||||||
MobileDeviceConfigurationManager.getInstance().initConfig();
|
// MobileDeviceConfigurationManager.getInstance().initConfig();
|
||||||
MobileDeviceManagementConfig config = MobileDeviceConfigurationManager.getInstance()
|
// MobileDeviceManagementConfig config = MobileDeviceConfigurationManager.getInstance()
|
||||||
.getMobileDeviceManagementConfig();
|
// .getMobileDeviceManagementConfig();
|
||||||
MobileDataSourceConfig
|
// MobileDataSourceConfig
|
||||||
dsConfig = config.getMobileDeviceMgtRepository().getMobileDataSourceConfig();
|
// dsConfig = config.getMobileDeviceMgtRepository().getMobileDataSourceConfig();
|
||||||
MobileDeviceManagementDAOFactory.init(dsConfig);
|
// MobileDeviceManagementDAOFactory.init(dsConfig);
|
||||||
|
|
||||||
/* If -Dsetup option enabled then create device management database schema */
|
/* If -Dsetup option enabled then create device management database schema */
|
||||||
String setupOption = System.getProperty("setup");
|
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 " +
|
"-Dsetup is enabled. Mobile Device management repository schema initialization is about " +
|
||||||
"to begin");
|
"to begin");
|
||||||
}
|
}
|
||||||
setupMobileDeviceManagementSchema(dsConfig);
|
setupMobileDeviceManagementSchema(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isDebugEnabled()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user