|
|
@ -32,12 +32,13 @@ import java.io.File;
|
|
|
|
public class MobileDeviceConfigurationManager {
|
|
|
|
public class MobileDeviceConfigurationManager {
|
|
|
|
|
|
|
|
|
|
|
|
private static final String MOBILE_DEVICE_CONFIG_XML_NAME = "mobile-config.xml";
|
|
|
|
private static final String MOBILE_DEVICE_CONFIG_XML_NAME = "mobile-config.xml";
|
|
|
|
|
|
|
|
private static final String MOBILE_DEVICE_PLUGIN_DIRECTORY = "mobile";
|
|
|
|
private MobileDeviceManagementConfig currentMobileDeviceConfig;
|
|
|
|
private MobileDeviceManagementConfig currentMobileDeviceConfig;
|
|
|
|
private static MobileDeviceConfigurationManager mobileDeviceConfigManager;
|
|
|
|
private static MobileDeviceConfigurationManager mobileDeviceConfigManager;
|
|
|
|
|
|
|
|
|
|
|
|
private final String mobileDeviceMgtConfigXMLPath =
|
|
|
|
private final String mobileDeviceMgtConfigXMLPath =
|
|
|
|
CarbonUtils.getCarbonConfigDirPath() + File.separator +
|
|
|
|
CarbonUtils.getEtcCarbonConfigDirPath() + File.separator + "device-mgt-plugin-configs" + File.separator +
|
|
|
|
MOBILE_DEVICE_CONFIG_XML_NAME;
|
|
|
|
MOBILE_DEVICE_PLUGIN_DIRECTORY + File.separator + MOBILE_DEVICE_CONFIG_XML_NAME;
|
|
|
|
|
|
|
|
|
|
|
|
public static MobileDeviceConfigurationManager getInstance() {
|
|
|
|
public static MobileDeviceConfigurationManager getInstance() {
|
|
|
|
if (mobileDeviceConfigManager == null) {
|
|
|
|
if (mobileDeviceConfigManager == null) {
|
|
|
|