Class SoapXmlEIConfigData

java.lang.Object
com.nt.udc.ndk.gui.DCNodeConfigData
com.nt.udc.ei.node.soap.SoapXmlEIConfigData
All Implemented Interfaces:
ConfigIfc, Serializable, Cloneable

public class SoapXmlEIConfigData extends DCNodeConfigData
Network Mediation User: jwu Date: Jan 20, 2005 Time: 4:42:43 PM MetaSolv Software Inc.
See Also:
  • Constructor Details

    • SoapXmlEIConfigData

      public SoapXmlEIConfigData()
      Constructor to be used by GUI to create a DCNodeConfigData with initial set of default values
    • SoapXmlEIConfigData

      public SoapXmlEIConfigData(String inOSAHome, String inNodeId) throws IOException
      Constructor to be used by NodeManager which is aware of the udcHome and nodeId
      Throws:
      IOException
  • Method Details

    • getFtpConfigFilename

      public static String getFtpConfigFilename(String udcHome, String nodeId)
      Get ftp configuration file absolute path
      Parameters:
      udcHome - home directory
      nodeId - id string
      Returns:
      String representing ftp filename
    • setSoapConfigData

      public void setSoapConfigData(byte[] data)
      Stores the SOAP-specific parameters for use by the appropriate GUI panels.
      Parameters:
      data - Array of bytes representing the soap-specific data
    • getSoapConfigData

      public byte[] getSoapConfigData()
      Retrieves the soap-specific data in order to pass it to the Node Manager.
      Returns:
      Array of bytes representing the soap parameters
    • getSoapConfigFilename

      public String getSoapConfigFilename()
      Retrieves the path and name of the soap-specific configuration file.
      Returns:
      String representing path and filename.
    • setSoapConfigFilename

      public void setSoapConfigFilename(String path)
      Sets the path and name of the soap-specific config file.
      Parameters:
      path - contains the path and filename
    • setDefaults

      protected void setDefaults()
      Not applicable.
      Overrides:
      setDefaults in class DCNodeConfigData
    • load

      public void load() throws IOException
      Overridden to not only load the general configuration info but also the soap-specific parameters.
      Overrides:
      load in class DCNodeConfigData
      Throws:
      IOException - If either the general.cfg or ruleName file could not be read
    • save

      public void save() throws IOException
      Write out the node configuration data to files. Overridden to make sure we write the soap-specific parameters to a separate file.
      Overrides:
      save in class DCNodeConfigData
      Throws:
      IOException - If the config directory does not exist, or either the general.cfg or rules.cfg file could not be written to