public class

IPAAdminCfgWrapper

extends Object
java.lang.Object
   ↳ com.microstrategy.web.ipa.IPAAdminCfgWrapper

Class Overview

The wrapper class of IPAAdminCfg It deal with all of actions on the IPAAdminConfg.xml file The XML file is only loaded and saved here, which reduce the memory usage It will not be called very frequently, there is no bottleneck for multiple threads scenario

Summary

Public Methods
synchronized IPAAdminMHA AddMHA(String iServer, int iPort)
synchronized IPAAdminPropertiesTemplate AddTeamplate(String iName, String iType)
add tempalte
synchronized void createIPAAdminCfgFile()
synchronized void delMHA()
Delete the Master Health Agent (MHA) configured by IPA configuration page It will remove MHA info from the IPAAdminCfg.xml file.
synchronized void delTemplate(String iName)
synchronized String getDefaultLogPath()
static IPAAdminCfgWrapper getInstance()
synchronized IPAAdminMHA getMHA()
Retrieves the Master Health Agent (MHA) configured by IPA configuration page It will MHA present in the IPAAdminCfg.xml file.
synchronized String getOutlinePath()
String getRegisteredAlertCounterKeys()
synchronized String getSampleProcudurePath()
synchronized List<IPAAdminPropertiesTemplate> getTempalteList()
synchronized IPAAdminPropertiesTemplate getTemplate(String iName)
synchronized String getUserProcudurePath()
synchronized boolean isTemplateExisting(String iName)
if the tempate is existing
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized IPAAdminMHA AddMHA (String iServer, int iPort)

public synchronized IPAAdminPropertiesTemplate AddTeamplate (String iName, String iType)

add tempalte

public synchronized void createIPAAdminCfgFile ()

public synchronized void delMHA ()

Delete the Master Health Agent (MHA) configured by IPA configuration page It will remove MHA info from the IPAAdminCfg.xml file.

public synchronized void delTemplate (String iName)

public synchronized String getDefaultLogPath ()

Throws
Exception

public static IPAAdminCfgWrapper getInstance ()

Returns
  • The singleton instance

public synchronized IPAAdminMHA getMHA ()

Retrieves the Master Health Agent (MHA) configured by IPA configuration page It will MHA present in the IPAAdminCfg.xml file.

Returns
  • The MHA present on the IPA landing page.

public synchronized String getOutlinePath ()

public String getRegisteredAlertCounterKeys ()

public synchronized String getSampleProcudurePath ()

public synchronized List<IPAAdminPropertiesTemplate> getTempalteList ()

public synchronized IPAAdminPropertiesTemplate getTemplate (String iName)

public synchronized String getUserProcudurePath ()

public synchronized boolean isTemplateExisting (String iName)

if the tempate is existing