com.ibm.websphere.product

Class WASProduct

  • java.lang.Object
    • com.ibm.websphere.product.WASProduct

  • Deprecated. 
    As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.

    public class WASProduct
    extends java.lang.Object
    WASProduct provides an interface into the product version information. The file set contains information about the Websphere Application Server e.g Product Name, Edition, Build Number, Build Date etc. Note: If this class is used outside the confines of the WebSphere product then the System property "was.install.root" must be set to point to the directory that Websphere is installed in. e.g "c:\websphere\appserver"
    Version:
    5.0
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String BACKUP_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String BACKUP_DIR_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      protected java.io.File backupDir
      Deprecated. 
       
      protected java.lang.String backupDirName
      Deprecated. 
       
      protected java.util.ArrayList boundExceptions
      Deprecated. 
       
      static java.lang.String bundleIdMsg
      Deprecated. 
      The id of the message bundle use by WASProduct.
      static java.lang.String bundleIdText
      Deprecated. 
       
      static java.lang.String COMPONENT_TYPE
      Deprecated. 
      Typing constants for loading version info.
      protected java.util.ArrayList componentNames
      Deprecated. 
       
      protected java.util.ArrayList components
      Deprecated. 
       
      static java.lang.String CURRENT_VERSION_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String DEFAULT_TMP_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String DTD_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String DTD_DIR_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      protected java.io.File dtdDir
      Deprecated. 
       
      protected java.lang.String dtdDirName
      Deprecated. 
       
      static java.lang.String EFIX_TYPE
      Deprecated. 
      Typing constants for loading version info.
      protected java.util.ArrayList efixes
      Deprecated. 
       
      protected java.util.ArrayList efixNames
      Deprecated. 
       
      static java.lang.String EXTENSION_TYPE
      Deprecated. 
      Typing constants for loading version info.
      protected java.util.ArrayList extensionNames
      Deprecated. 
       
      protected java.util.ArrayList extensions
      Deprecated. 
       
      static java.lang.String FULL_INSTALL_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String INSTALL_ROOT_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      static java.lang.String JAVA_TMP_DIR_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      static java.lang.String LOG_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String LOG_DIR_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      protected java.io.File logDir
      Deprecated. 
       
      protected java.lang.String logDirName
      Deprecated. 
       
      static java.util.ResourceBundle msgs
      Deprecated. 
      The initialized resource bundle.
      static java.lang.String NIF_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String pgmUpdate
      Deprecated. 
      Constants holding CMVC version information.
      static java.lang.String pgmVersion
      Deprecated. 
      Constants holding CMVC version information.
      static java.lang.String[] PRODUCT_IDS
      Deprecated. 
      The array of known product ids.
      static java.lang.String PRODUCT_TYPE
      Deprecated. 
      Typing constants for loading version info.
      protected java.io.File productDir
      Deprecated. 
       
      protected java.lang.String productDirName
      Deprecated. 
       
      static java.lang.String PRODUCTID_BASE
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_CLIENT
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_EMBEDDED_EXPRESS
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_EXPRESS
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_JDK
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_ND
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_PME
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_WXD
      Deprecated. 
      Constants for the known product ids.
      static java.lang.String PRODUCTID_XD
      Deprecated. 
      Constants for the known product ids.
      protected java.util.ArrayList productNames
      Deprecated. 
       
      protected java.util.ArrayList products
      Deprecated. 
       
      static java.lang.String PROPERTIES_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String PTF_TYPE
      Deprecated. 
      Typing constants for loading version info.
      protected java.util.ArrayList ptfNames
      Deprecated. 
       
      protected java.util.ArrayList ptfs
      Deprecated. 
       
      protected java.util.ArrayList recoverableErrors
      Deprecated. 
       
      static java.lang.String REGISTRARID_ADD
      Deprecated. 
      Constants for the known registrar ids.
      static java.lang.String REGISTRARID_BASE
      Deprecated. 
      Constants for the known registrar ids.
      protected java.util.ArrayList registrarNames
      Deprecated. 
       
      protected java.util.ArrayList registrars
      Deprecated. 
       
      static java.util.ResourceBundle texts
      Deprecated. 
       
      static java.lang.String TMP_DIR_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      static java.lang.String UPDATE_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String VERSION_DIR_NAME
      Deprecated. 
      Default names for product directories.
      static java.lang.String VERSION_DIR_PROPERTY_NAME
      Deprecated. 
      Constants for providing product directories.
      protected java.io.File versionDir
      Deprecated. 
       
      protected java.lang.String versionDirName
      Deprecated. 
       
      protected java.util.HashMap versionInfo
      Deprecated. 
       
      protected java.util.ArrayList warnings
      Deprecated. 
       
    • Constructor Summary

      Constructors 
      Constructor and Description
      WASProduct()
      Deprecated. 
      As of WAS 8.0.
      WASProduct(java.lang.String productDirName)
      Deprecated. 
      As of WAS 8.0.
      WASProduct(java.lang.String productDirName, java.lang.String versionDirName, java.lang.String dtdDirName, java.lang.String logDirName, java.lang.String backupDirName)
      Deprecated. 
      As of WAS 8.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean addComponent(com.ibm.websphere.product.xml.component.component aComponent)
      Deprecated. 
      As of WAS 8.0.
      protected void addComponentName(java.lang.String componentName)
      Deprecated. 
      As of V8.0
      protected void addEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
      Deprecated. 
      As of WAS 8.0.
      protected void addEFixName(java.lang.String efixName)
      Deprecated. 
      As of WAS 8.0.
      protected void addException(java.lang.String msgKey)
      Deprecated. 
      As of V8.0
      protected void addException(java.lang.String msgKey, java.lang.Exception e)
      Deprecated. 
      As of V8.0
      protected void addException(java.lang.String msgKey, java.lang.Object[] msgArgs, java.lang.Exception e)
      Deprecated. 
      As of V8.0
      protected void addException(com.ibm.websphere.product.WASProductException e)
      Deprecated. 
      As of V8.0
      protected void addProductName(java.lang.String productName)
      Deprecated. 
      As of V8.0
      protected void addPTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
      Deprecated. 
      As of V8.0
      protected void addPTFName(java.lang.String ptfName)
      Deprecated. 
      As of V8.0
      protected void addRecoverableError(org.xml.sax.SAXParseException e)
      Deprecated. 
      As of V8.0
      protected void addWarning(org.xml.sax.SAXParseException e)
      Deprecated. 
      As of V8.0
      protected void basicAddComponent(com.ibm.websphere.product.xml.component.component aComponent)
      Deprecated. 
      As of V8.0
      protected void basicAddProduct(com.ibm.websphere.product.product aProduct)
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetComponentNames()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetComponents()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetEFixes()
      Deprecated. 
      As of WAS 8.0.
      protected java.util.ArrayList basicGetEFixNames()
      Deprecated. 
      As of WAS 8.0.
      protected java.util.ArrayList basicGetExtensionNames()
      Deprecated. 
      As of WAS 8.0.
      protected java.util.ArrayList basicGetExtensions()
      Deprecated. 
      As of WAS 8.0.
      protected java.util.ArrayList basicGetProductNames()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetProducts()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetPTFNames()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetPTFs()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList basicGetRegistrarNames()
      Deprecated. 
       
      protected java.util.ArrayList basicGetRegistrars()
      Deprecated. 
       
      protected void basicRemoveComponent(com.ibm.websphere.product.xml.component.component aComponent)
      Deprecated. 
      As of V8.0
      protected void basicRemoveEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
      Deprecated. 
      As of WAS 8.0.
      protected void basicRemoveProduct(com.ibm.websphere.product.product aProduct)
      Deprecated. 
      As of V8.0
      protected void basicRemovePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
      Deprecated. 
      As of V8.0
      protected void clearExceptions()
      Deprecated. 
      As of V8.0
      protected java.util.ArrayList collectVersionInfo(java.util.Iterator names)
      Deprecated. 
      As of V8.0
      boolean componentPresent(java.lang.String name)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isComponentInstalled(String componentName)
      static java.lang.String computeBackupDirName(java.lang.String versionDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getBackupDirPath(String installRoot)
      static java.lang.String computeDTDDirName(java.lang.String versionDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getDTDDirPath(String installRoot)
      static java.lang.String computeLogDirName(java.lang.String productDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getLogDirPath(String installRoot)
      static java.lang.String computeVersionDirName(java.lang.String productDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getVersionDirPath(String installRoot)
      protected static com.ibm.websphere.product.WASProductException createException(java.lang.String msgKey, java.lang.Object[] msgArgs, java.lang.Exception e)
      Deprecated. 
      As of V8.0
      boolean efixPresent(java.lang.String id)
      Deprecated. 
      As of WAS 8.0.
      boolean extensionPresent(java.lang.String name)
      Deprecated. 
      As of WAS 8.0.
      java.lang.String getBackupDirName()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getBackupDirPath(String installRoot).
      static java.lang.String getBackupDirName(java.lang.String versionDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getBackupDirPath(String installRoot)
      com.ibm.websphere.product.xml.component.component getComponentByFilename(java.lang.String basename)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getComponentByName(String componentName)
      com.ibm.websphere.product.xml.component.component getComponentByName(java.lang.String name)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getComponentByName(String componentName)
      java.util.Iterator getComponentNames()
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getComponents()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledComponentList()
      java.lang.String getDTDDirName()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getDTDDirPath(String installRoot).
      static java.lang.String getDTDDirName(java.lang.String versionDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getDTDDirPath(String installRoot)
      com.ibm.websphere.product.xml.efix.efix getEFixByFilename(java.lang.String basename)
      Deprecated. 
      As of WAS 8.0.
      com.ibm.websphere.product.xml.efix.efix getEFixById(java.lang.String id)
      Deprecated. 
      As of WAS 8.0.
      int getEFixCount()
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getEFixes()
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getEFixNames()
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getExceptions()
      Deprecated. 
      As of WAS 8.0.
      com.ibm.websphere.product.xml.extension.extension getExtensionByFilename(java.lang.String basename)
      Deprecated. 
      As of WAS 8.0.
      com.ibm.websphere.product.xml.extension.extension getExtensionByName(java.lang.String name)
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getExtensionNames()
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getExtensions()
      Deprecated. 
      As of WAS 8.0.
      java.lang.String getLogDirName()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getLogDirPath(String installRoot).
      static java.lang.String getLogDirName(java.lang.String productDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getLogDirPath(String installRoot)
      com.ibm.websphere.product.xml.websphere.websphere getPlatform()
      Deprecated. 
      As of WAS 8.0. Replaced by WASDirectory.getWASProductInfo(String productID)
      protected java.io.File getProductDir()
      Deprecated. 
      As of WAS 8.0.
      java.lang.String getProductDirName()
      Deprecated. 
       
      com.ibm.websphere.product.xml.efix.ptf getPTFByFilename(java.lang.String basename)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageByID(String maintenancePackageID)
      com.ibm.websphere.product.xml.efix.ptf getPTFById(java.lang.String id)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageByID(String maintenancePackageID)
      java.util.Iterator getPTFNames()
      Deprecated. 
      As of WAS 8.0.
      java.util.Iterator getPTFs()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageList()
      java.util.Iterator getRecoverableErrors()
      Deprecated. 
      As of WAS 8.0.
      com.ibm.websphere.product.xml.registrar.registrar getRegistrarById(java.lang.String id)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarById(String id)
      java.util.Iterator getRegistrarNames()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarFileNames()
      java.util.Iterator getRegistrars()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarInstances()
      protected static java.lang.String getString(java.lang.String msgCode)
      Deprecated. 
      As of V8.0
      protected static java.lang.String getString(java.lang.String msgCode, java.lang.Object arg)
      Deprecated. 
      As of V8.0
      protected static java.lang.String getString(java.lang.String msgCode, java.lang.Object[] msgArgs)
      Deprecated. 
      As of V8.0
      protected static java.lang.String getString(java.lang.String msgCode, java.lang.Object arg1, java.lang.Object arg2)
      Deprecated. 
      As of V8.0
      static java.lang.String getTmpDirName()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getTmpDirPath()
      protected java.io.File getVersionDir()
      Deprecated. 
      As of WAS 8.0.
      java.lang.String getVersionDirName()
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getVersionDirPath(String installRoot).
      static java.lang.String getVersionDirName(java.lang.String productDirName)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getVersionDirPath(String installRoot)
      java.lang.String getVersionFileName(java.lang.String baseName)
      Deprecated. 
      As of WAS 8.0.
      protected java.lang.Object getVersionInfo(java.lang.String filename)
      Deprecated. 
      As of V8.0
      java.util.Iterator getWarnings()
      Deprecated. 
      As of WAS 8.0.
      protected void initialize(java.lang.String useProductDirName, java.lang.String useVersionDirName, java.lang.String useDTDDirName, java.lang.String useLogDirName, java.lang.String useBackupDirName)
      Deprecated. 
      As of V8.0
      boolean initializeLogAndBackup()
      Deprecated. 
      As of WAS 8.0.
      protected boolean initMetadataInstance()
      Deprecated. 
      Init the WASMetadata instance if it's not initialized yet.
      static void InitResourceBundle()
      Deprecated. 
      As of WAS 8.0.
      protected java.util.ArrayList listFileNames(java.io.File[] files)
      Deprecated. 
      As of WAS V8.0
      protected java.util.ArrayList listFileNames(java.io.FilenameFilter filter)
      Deprecated. 
      As of WAS V8.0
      protected java.io.File[] listFiles(java.io.FilenameFilter filter)
      Deprecated. 
      As of WAS V8.0
      java.lang.String[] loadAllVersionInfoByType(java.lang.String type)
      Deprecated. 
      This method is not the recommended way to retrieve version information of installed products by parsing product XML files. As of WAS 8.0 this method is deprecated.
      protected java.lang.String loadFile(java.io.File file, java.lang.String fileName)
      Deprecated. 
      As of WAS 8.0.
      protected java.lang.Object loadVersionInfo(java.lang.String filename)
      Deprecated. 
      As of V8.0
      protected java.lang.String loadVersionInfoAsXMLString(java.lang.String filename, boolean doXSLTransform)
      Deprecated. 
      As of V8.0
      int numExceptions()
      Deprecated. 
      As of WAS 8.0.
      int numRecoverableErrors()
      Deprecated. 
      As of WAS 8.0.
      int numWarnings()
      Deprecated. 
      As of WAS 8.0.
      static java.lang.String preparePath(java.lang.String path, boolean trailSeparator)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.normalizeLocationAccordingToPlatform(String location, boolean trailSeparator)
      boolean ptfPresent(java.lang.String id)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isMaintenancePackageInstalled(String maintenancePackageID)
      boolean registrarPresent(java.lang.String id)
      Deprecated. 
      As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isRegistrarPresent(String id)
      boolean removeComponent(com.ibm.websphere.product.xml.component.component aComponent)
      Deprecated. 
      As of WAS 8.0.
      protected void removeComponentName(java.lang.String componentName)
      Deprecated. 
      As of V8.0
      boolean removeEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
      Deprecated. 
      As of WAS 8.0.
      protected void removeEFixName(java.lang.String efixName)
      Deprecated. 
      As of WAS 8.0.
      protected void removeProductName(java.lang.String productName)
      Deprecated. 
      As of V8.0
      boolean removePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
      Deprecated. 
      As of WAS 8.0.
      protected void removePTFName(java.lang.String ptfName)
      Deprecated. 
      As of V8.0
      boolean saveEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
      Deprecated. 
      As of WAS 8.0.
      boolean savePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
      Deprecated. 
      As of WAS 8.0.
      java.lang.String toString()
      Deprecated. 
      As of WAS 8.0.
      protected void transferErrors(com.ibm.websphere.product.xml.BaseFactory factory)
      Deprecated. 
      As of V8.0
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • pgmVersion

        public static final java.lang.String pgmVersion
        Deprecated. 
        Constants holding CMVC version information. This information is dynamic, changing with each source update.
        See Also:
        Constant Field Values
      • pgmUpdate

        public static final java.lang.String pgmUpdate
        Deprecated. 
        Constants holding CMVC version information. This information is dynamic, changing with each source update.
        See Also:
        Constant Field Values
      • PRODUCTID_EMBEDDED_EXPRESS

        public static final java.lang.String PRODUCTID_EMBEDDED_EXPRESS
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_EXPRESS

        public static final java.lang.String PRODUCTID_EXPRESS
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_BASE

        public static final java.lang.String PRODUCTID_BASE
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_ND

        public static final java.lang.String PRODUCTID_ND
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_XD

        public static final java.lang.String PRODUCTID_XD
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_WXD

        public static final java.lang.String PRODUCTID_WXD
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_PME

        public static final java.lang.String PRODUCTID_PME
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_CLIENT

        public static final java.lang.String PRODUCTID_CLIENT
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCTID_JDK

        public static final java.lang.String PRODUCTID_JDK
        Deprecated. 
        Constants for the known product ids.
        See Also:
        Constant Field Values
      • PRODUCT_IDS

        public static final java.lang.String[] PRODUCT_IDS
        Deprecated. 
        The array of known product ids.
      • REGISTRARID_BASE

        public static final java.lang.String REGISTRARID_BASE
        Deprecated. 
        Constants for the known registrar ids.
        See Also:
        Constant Field Values
      • REGISTRARID_ADD

        public static final java.lang.String REGISTRARID_ADD
        Deprecated. 
        Constants for the known registrar ids.
        See Also:
        Constant Field Values
      • bundleIdMsg

        public static final java.lang.String bundleIdMsg
        Deprecated. 
        The id of the message bundle use by WASProduct.
        See Also:
        Constant Field Values
      • bundleIdText

        public static final java.lang.String bundleIdText
        Deprecated. 
        See Also:
        Constant Field Values
      • msgs

        public static java.util.ResourceBundle msgs
        Deprecated. 
        The initialized resource bundle. This is public for shared access.
      • texts

        public static java.util.ResourceBundle texts
        Deprecated. 
      • boundExceptions

        protected java.util.ArrayList boundExceptions
        Deprecated. 
      • recoverableErrors

        protected java.util.ArrayList recoverableErrors
        Deprecated. 
      • warnings

        protected java.util.ArrayList warnings
        Deprecated. 
      • INSTALL_ROOT_PROPERTY_NAME

        public static final java.lang.String INSTALL_ROOT_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • VERSION_DIR_PROPERTY_NAME

        public static final java.lang.String VERSION_DIR_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • DTD_DIR_PROPERTY_NAME

        public static final java.lang.String DTD_DIR_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • LOG_DIR_PROPERTY_NAME

        public static final java.lang.String LOG_DIR_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • BACKUP_DIR_PROPERTY_NAME

        public static final java.lang.String BACKUP_DIR_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • TMP_DIR_PROPERTY_NAME

        public static final java.lang.String TMP_DIR_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • JAVA_TMP_DIR_PROPERTY_NAME

        public static final java.lang.String JAVA_TMP_DIR_PROPERTY_NAME
        Deprecated. 
        Constants for providing product directories.
        See Also:
        Constant Field Values
      • PROPERTIES_DIR_NAME

        public static final java.lang.String PROPERTIES_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • VERSION_DIR_NAME

        public static final java.lang.String VERSION_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • DTD_DIR_NAME

        public static final java.lang.String DTD_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • LOG_DIR_NAME

        public static final java.lang.String LOG_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • UPDATE_DIR_NAME

        public static final java.lang.String UPDATE_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • BACKUP_DIR_NAME

        public static final java.lang.String BACKUP_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • DEFAULT_TMP_DIR_NAME

        public static final java.lang.String DEFAULT_TMP_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • FULL_INSTALL_DIR_NAME

        public static final java.lang.String FULL_INSTALL_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • CURRENT_VERSION_DIR_NAME

        public static final java.lang.String CURRENT_VERSION_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • NIF_DIR_NAME

        public static final java.lang.String NIF_DIR_NAME
        Deprecated. 
        Default names for product directories.
        See Also:
        Constant Field Values
      • products

        protected java.util.ArrayList products
        Deprecated. 
      • productNames

        protected java.util.ArrayList productNames
        Deprecated. 
      • components

        protected java.util.ArrayList components
        Deprecated. 
      • componentNames

        protected java.util.ArrayList componentNames
        Deprecated. 
      • efixes

        protected java.util.ArrayList efixes
        Deprecated. 
      • efixNames

        protected java.util.ArrayList efixNames
        Deprecated. 
      • ptfs

        protected java.util.ArrayList ptfs
        Deprecated. 
      • ptfNames

        protected java.util.ArrayList ptfNames
        Deprecated. 
      • extensions

        protected java.util.ArrayList extensions
        Deprecated. 
      • extensionNames

        protected java.util.ArrayList extensionNames
        Deprecated. 
      • registrars

        protected java.util.ArrayList registrars
        Deprecated. 
      • registrarNames

        protected java.util.ArrayList registrarNames
        Deprecated. 
      • versionInfo

        protected java.util.HashMap versionInfo
        Deprecated. 
      • PRODUCT_TYPE

        public static final java.lang.String PRODUCT_TYPE
        Deprecated. 

        Typing constants for loading version info.

        See Also:
        Constant Field Values
      • COMPONENT_TYPE

        public static final java.lang.String COMPONENT_TYPE
        Deprecated. 

        Typing constants for loading version info.

        See Also:
        Constant Field Values
      • EFIX_TYPE

        public static final java.lang.String EFIX_TYPE
        Deprecated. 

        Typing constants for loading version info.

        See Also:
        Constant Field Values
      • PTF_TYPE

        public static final java.lang.String PTF_TYPE
        Deprecated. 

        Typing constants for loading version info.

        See Also:
        Constant Field Values
      • EXTENSION_TYPE

        public static final java.lang.String EXTENSION_TYPE
        Deprecated. 

        Typing constants for loading version info.

        See Also:
        Constant Field Values
      • productDir

        protected java.io.File productDir
        Deprecated. 
      • productDirName

        protected java.lang.String productDirName
        Deprecated. 
      • versionDir

        protected java.io.File versionDir
        Deprecated. 
      • versionDirName

        protected java.lang.String versionDirName
        Deprecated. 
      • dtdDir

        protected java.io.File dtdDir
        Deprecated. 
      • dtdDirName

        protected java.lang.String dtdDirName
        Deprecated. 
      • logDir

        protected java.io.File logDir
        Deprecated. 
      • logDirName

        protected java.lang.String logDirName
        Deprecated. 
      • backupDir

        protected java.io.File backupDir
        Deprecated. 
      • backupDirName

        protected java.lang.String backupDirName
        Deprecated. 
    • Constructor Detail

      • WASProduct

        public WASProduct()
        Deprecated. As of WAS 8.0.

        Default constructor. The new instance is initialized wholly from system properties. Exceptions may be registed in the new instance.

      • WASProduct

        public WASProduct(java.lang.String productDirName)
        Deprecated. As of WAS 8.0.

        Parameterized constructor. The product directories are computed from the specified directory. No system properties are used. Exceptions may be registed in the new instance.

        Parameters:
        productDirName - The base product directory.
      • WASProduct

        public WASProduct(java.lang.String productDirName,
                  java.lang.String versionDirName,
                  java.lang.String dtdDirName,
                  java.lang.String logDirName,
                  java.lang.String backupDirName)
        Deprecated. As of WAS 8.0

        Parameterized constructor. All product directories are assigned directly from arguments. No system properties are used. Exceptions may be registed in the new instance.

        Parameters:
        productDirName - The product directory for use.
        versionDirName - The version directory for use.
        dtdDirName - The DTD directory for use.
        logDirName - The log directory for use.
        backupDirName - The backup directory for use.
    • Method Detail

      • InitResourceBundle

        public static void InitResourceBundle()
        Deprecated. As of WAS 8.0.
      • getString

        protected static java.lang.String getString(java.lang.String msgCode)
        Deprecated. As of V8.0
      • getString

        protected static java.lang.String getString(java.lang.String msgCode,
                                 java.lang.Object arg)
        Deprecated. As of V8.0
      • getString

        protected static java.lang.String getString(java.lang.String msgCode,
                                 java.lang.Object arg1,
                                 java.lang.Object arg2)
        Deprecated. As of V8.0
      • getString

        protected static java.lang.String getString(java.lang.String msgCode,
                                 java.lang.Object[] msgArgs)
        Deprecated. As of V8.0
      • addException

        protected void addException(com.ibm.websphere.product.WASProductException e)
        Deprecated. As of V8.0
      • numExceptions

        public int numExceptions()
        Deprecated. As of WAS 8.0.

        Answer the number of exceptions which were registered within the last operation.

        Returns:
        int The number of registered exceptions.
      • getExceptions

        public java.util.Iterator getExceptions()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the registered exceptions.

        Returns:
        Iterator An iterator across the registered exceptions.
      • addRecoverableError

        protected void addRecoverableError(org.xml.sax.SAXParseException e)
        Deprecated. As of V8.0
      • numRecoverableErrors

        public int numRecoverableErrors()
        Deprecated. As of WAS 8.0.

        Answer the number of recoverable errors which were registered within the last operation.

        Returns:
        int The number of registered recoverable errors.
      • getRecoverableErrors

        public java.util.Iterator getRecoverableErrors()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the registered recoverable errors.

        Returns:
        Iterator An iterator across the registered recoverable errors.
      • addWarning

        protected void addWarning(org.xml.sax.SAXParseException e)
        Deprecated. As of V8.0
      • numWarnings

        public int numWarnings()
        Deprecated. As of WAS 8.0.

        Answer the number of warnings which were registered within the last operation.

        Returns:
        int The number of registered warnings.
      • getWarnings

        public java.util.Iterator getWarnings()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the registered warnings.

        Returns:
        Iterator An iterator across the registered warnings.
      • transferErrors

        protected void transferErrors(com.ibm.websphere.product.xml.BaseFactory factory)
        Deprecated. As of V8.0
      • clearExceptions

        protected void clearExceptions()
        Deprecated. As of V8.0
      • addException

        protected void addException(java.lang.String msgKey)
        Deprecated. As of V8.0
      • addException

        protected void addException(java.lang.String msgKey,
                        java.lang.Exception e)
        Deprecated. As of V8.0
      • addException

        protected void addException(java.lang.String msgKey,
                        java.lang.Object[] msgArgs,
                        java.lang.Exception e)
        Deprecated. As of V8.0
      • createException

        protected static com.ibm.websphere.product.WASProductException createException(java.lang.String msgKey,
                                                                    java.lang.Object[] msgArgs,
                                                                    java.lang.Exception e)
        Deprecated. As of V8.0
      • computeVersionDirName

        public static java.lang.String computeVersionDirName(java.lang.String productDirName)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getVersionDirPath(String installRoot)

        Determine and return the version directory from system properties. The argument product directory will be used, with adjustment, if no version directory property is set. An exception is thrown if the version directory cannot be determined.

        Parameters:
        productDirName - The base directory from which to compute the version directory, used in case no version directory property is set.
        Returns:
        String The computed version directory name.
      • getVersionDirName

        public static java.lang.String getVersionDirName(java.lang.String productDirName)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getVersionDirPath(String installRoot)

        Answer a version directory based on the argument product directory.

        Returns:
        String The computed version directory name.
      • computeDTDDirName

        public static java.lang.String computeDTDDirName(java.lang.String versionDirName)
                                                  throws com.ibm.websphere.product.WASProductException
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getDTDDirPath(String installRoot)

        Determine and return the DTD directory from system properties. The argument version directory will be used, with adjustment, if no DTD directory property is set. An exception is thrown if the DTD directory cannot be determined.

        Parameters:
        versionDirName - The base directory from which to compute the DTD directory, used in case no DTD directory property is set.
        Returns:
        String The computed DTD directory name.
        Throws:
        WASProductException - An exception which is thrown if the DTD directory cannot be determined.
      • getDTDDirName

        public static java.lang.String getDTDDirName(java.lang.String versionDirName)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getDTDDirPath(String installRoot)

        Answer a DTD directory based on the argument version directory.

        Returns:
        String The computed DTD directory name.
      • computeLogDirName

        public static java.lang.String computeLogDirName(java.lang.String productDirName)
                                                  throws com.ibm.websphere.product.WASProductException
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getLogDirPath(String installRoot)

        Determine and return the log directory from system properties. The argument version directory will be used, with adjustment, if no log directory property is set. An exception is thrown if the log directory cannot be determined.

        Parameters:
        productDirName - The base directory from which to compute the log directory, used in case no log directory property is set.
        Returns:
        String The computed log directory name.
        Throws:
        WASProductException - An exception which is thrown if the log directory cannot be determined.
      • getLogDirName

        public static java.lang.String getLogDirName(java.lang.String productDirName)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getLogDirPath(String installRoot)

        Answer a log directory based on the argument version directory.

        Returns:
        String The computed log directory name.
      • computeBackupDirName

        public static java.lang.String computeBackupDirName(java.lang.String versionDirName)
                                                     throws com.ibm.websphere.product.WASProductException
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getBackupDirPath(String installRoot)

        Determine and return the backup directory from system properties. The argument version directory will be used, with adjustment, if no backup directory property is set. An exception is thrown if the backup directory cannot be determined.

        Parameters:
        versionDirName - The base directory from which to compute the backup directory, used in case no backup directory property is set.
        Returns:
        String The computed backup directory name.
        Throws:
        WASProductException - An exception which is thrown if the backup directory cannot be determined.
      • getBackupDirName

        public static java.lang.String getBackupDirName(java.lang.String versionDirName)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getBackupDirPath(String installRoot)

        Answer a backup directory based on the argument version directory.

        Returns:
        String The computed backup directory name.
      • getTmpDirName

        public static java.lang.String getTmpDirName()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getTmpDirPath()

        Determine and return the TMP directory from system properties. The TMP_DIR_PROPERTY_NAME system property is tested, then the JAVA_TMP_DIR_PROPERTY_NAME is tested. If neither is set, then DEFAULT_TMP_DIR_NAME is used.

        Returns:
        String The computed TMP directory name.
      • preparePath

        public static java.lang.String preparePath(java.lang.String path,
                                   boolean trailSeparator)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.normalizeLocationAccordingToPlatform(String location, boolean trailSeparator)

        Utility method for replacing slashes in the argument path with the file separator character. Optionally, a trailing separator is added to (or kept off of) the result path.

        Parameters:
        path - The argument path to be processed.
        trailSeparator - A flag specifying if the result path is to have a trailing separator character.
        Returns:
        String The processed path.
      • initialize

        protected void initialize(java.lang.String useProductDirName,
                      java.lang.String useVersionDirName,
                      java.lang.String useDTDDirName,
                      java.lang.String useLogDirName,
                      java.lang.String useBackupDirName)
        Deprecated. As of V8.0
      • initializeLogAndBackup

        public boolean initializeLogAndBackup()
        Deprecated. As of WAS 8.0.

        Initialize the log and backup directories associated with the receiver. If necessary, these directories are created, and are verified to exist as directories.

        This method clears and will register new exceptions, as needed.

        The result indicates whether the log and backup directories were successfully initialized.

        Returns:
        boolean A flag telling if the log and backup directories were successfully initialized.
      • getPlatform

        public com.ibm.websphere.product.xml.websphere.websphere getPlatform()
        Deprecated. As of WAS 8.0. Replaced by WASDirectory.getWASProductInfo(String productID)

        Answer the websphere object, which is representative of a websphere installation.

        Returns:
        websphere The websphere object associated with the receiver.
      • getComponentByFilename

        public com.ibm.websphere.product.xml.component.component getComponentByFilename(java.lang.String basename)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getComponentByName(String componentName)

        Answer the component stored in the named component file. Answer null if the named file does not exist or cannot be loaded.

        Parameters:
        basename - The name of the file holding a component object.
        Returns:
        component The component stored in the specified file.
      • getComponentByName

        public com.ibm.websphere.product.xml.component.component getComponentByName(java.lang.String name)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getComponentByName(String componentName)

        Answer the component having the specified name. Answer null if no matching component is available.

        Parameters:
        name - The name of the component to be returned.
        Returns:
        component The component having the specified name.
      • componentPresent

        public boolean componentPresent(java.lang.String name)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isComponentInstalled(String componentName)

        Answer true or false, telling if a component having the specified name is present.

        Parameters:
        name - The name of the component which is tested.
        Returns:
        boolean True or false, telling if the component having the specified name is present.
      • addComponent

        public boolean addComponent(com.ibm.websphere.product.xml.component.component aComponent)
        Deprecated. As of WAS 8.0.

        Save the argument component into the bound component directory. Answer true or false, telling if the component was successfully saved.

        Parameters:
        aComponent - A component to be saved.
        Returns:
        True or false, telling if the component was successfully saved.
      • removeComponent

        public boolean removeComponent(com.ibm.websphere.product.xml.component.component aComponent)
        Deprecated. As of WAS 8.0.

        Remove the argument component from the bound component directory. Answer true or false, telling if the component was successfully removed.

        Parameters:
        aComponent - A component to be removed.
        Returns:
        True or false, telling if the component was successfully removed.
      • getEFixByFilename

        public com.ibm.websphere.product.xml.efix.efix getEFixByFilename(java.lang.String basename)
        Deprecated. As of WAS 8.0.

        Answer the efix stored in the named efix file. Answer null if the named file does not exist or cannot be loaded.

        Parameters:
        basename - The name of the file holding an efix object.
        Returns:
        efix The efix stored in the specified file.
      • getEFixById

        public com.ibm.websphere.product.xml.efix.efix getEFixById(java.lang.String id)
        Deprecated. As of WAS 8.0.

        Answer the efix having the specified id. Answer null if no matching efix is available.

        Parameters:
        id - The id of the efix to be returned.
        Returns:
        efix The efix having the specified id.
      • efixPresent

        public boolean efixPresent(java.lang.String id)
        Deprecated. As of WAS 8.0.

        Answer true or false, telling if a efix having the specified name is present.

        Parameters:
        id - The id of the efix which is tested.
        Returns:
        boolean True or false, telling if the efix having the specified name is present.
      • getPTFByFilename

        public com.ibm.websphere.product.xml.efix.ptf getPTFByFilename(java.lang.String basename)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageByID(String maintenancePackageID)

        Answer the PTF stored in the named PTF file. Answer null if the named file does not exist or cannot be loaded.

        Parameters:
        basename - The name of the file holding an PTF object.
        Returns:
        PTF The PTF stored in the specified file.
      • getPTFById

        public com.ibm.websphere.product.xml.efix.ptf getPTFById(java.lang.String id)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageByID(String maintenancePackageID)

        Answer the PTF having the specified id. Answer null if no matching PTF is available.

        Parameters:
        id - The id of the PTF to be returned.
        Returns:
        PTF The PTF having the specified id.
      • ptfPresent

        public boolean ptfPresent(java.lang.String id)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isMaintenancePackageInstalled(String maintenancePackageID)

        Answer true or false, telling if a PTF having the specified name is present.

        Parameters:
        id - The id of the PTF which is tested.
        Returns:
        boolean True or false, telling if the PTF having the specified name is present.
      • getExtensionByFilename

        public com.ibm.websphere.product.xml.extension.extension getExtensionByFilename(java.lang.String basename)
        Deprecated. As of WAS 8.0.

        Answer the extension stored in the named extension file. Answer null if the named file does not exist or cannot be loaded.

        Parameters:
        basename - The name of the file holding an extension object.
        Returns:
        extension The extension stored in the specified file.
      • getExtensionByName

        public com.ibm.websphere.product.xml.extension.extension getExtensionByName(java.lang.String name)
        Deprecated. As of WAS 8.0.

        Answer the extension having the specified name. Answer null if no matching extension is available.

        Parameters:
        name - The name of the extension to be returned.
        Returns:
        extension The extension having the specified name.
      • extensionPresent

        public boolean extensionPresent(java.lang.String name)
        Deprecated. As of WAS 8.0.

        Answer true or false, telling if an extension having the specified name is present.

        Parameters:
        name - The name of the extension which is tested.
        Returns:
        boolean True or false, telling if the extension having the specified name is present.
      • getRegistrarById

        public com.ibm.websphere.product.xml.registrar.registrar getRegistrarById(java.lang.String id)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarById(String id)
        Parameters:
        id - The id of the registrar to be returned.
        Returns:
        registrar The registrar having the specified id.
      • registrarPresent

        public boolean registrarPresent(java.lang.String id)
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isRegistrarPresent(String id)
        Parameters:
        id - The id of the registrar which is tested.
        Returns:
        boolean True or false, telling if the registrar having the specified id is present.
      • basicGetProducts

        protected java.util.ArrayList basicGetProducts()
        Deprecated. As of V8.0
      • basicAddProduct

        protected void basicAddProduct(com.ibm.websphere.product.product aProduct)
        Deprecated. As of V8.0
      • basicRemoveProduct

        protected void basicRemoveProduct(com.ibm.websphere.product.product aProduct)
        Deprecated. As of V8.0
      • basicGetProductNames

        protected java.util.ArrayList basicGetProductNames()
        Deprecated. As of V8.0
      • addProductName

        protected void addProductName(java.lang.String productName)
        Deprecated. As of V8.0
      • removeProductName

        protected void removeProductName(java.lang.String productName)
        Deprecated. As of V8.0
      • getComponents

        public java.util.Iterator getComponents()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledComponentList()

        Answer an iterator across the components in the associated product directory.

        Returns:
        Iterator An iterator across the components in the associated product directory.
      • basicAddComponent

        protected void basicAddComponent(com.ibm.websphere.product.xml.component.component aComponent)
        Deprecated. As of V8.0
      • basicRemoveComponent

        protected void basicRemoveComponent(com.ibm.websphere.product.xml.component.component aComponent)
        Deprecated. As of V8.0
      • basicGetComponents

        protected java.util.ArrayList basicGetComponents()
        Deprecated. As of V8.0
      • getComponentNames

        public java.util.Iterator getComponentNames()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the names of the components in the associated product directory.

        Returns:
        Iterator An iterator across the names of the components in the associated product directory.
      • basicGetComponentNames

        protected java.util.ArrayList basicGetComponentNames()
        Deprecated. As of V8.0
      • addComponentName

        protected void addComponentName(java.lang.String componentName)
        Deprecated. As of V8.0
      • removeComponentName

        protected void removeComponentName(java.lang.String componentName)
        Deprecated. As of V8.0
      • saveEFix

        public boolean saveEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
        Deprecated. As of WAS 8.0.

        Save the argument efix into the bound product directory. Answer true or false, telling if the efix was successfully saved.

        Parameters:
        anEFix - A efix to be saved.
        Returns:
        True or false, telling if the efix was successfully saved.
      • removeEFix

        public boolean removeEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
        Deprecated. As of WAS 8.0.

        Remove the argument efix from the bound product directory. Answer true or false, telling if the efix was successfully removed.

        Parameters:
        anEFix - A efix to be removed.
        Returns:
        True or false, telling if the efix was successfully removed.
      • addEFix

        protected void addEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
        Deprecated. As of WAS 8.0.
      • basicRemoveEFix

        protected void basicRemoveEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
        Deprecated. As of WAS 8.0.
      • getEFixes

        public java.util.Iterator getEFixes()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the efixes in the associated product directory.

        Returns:
        Iterator An iterator across the efixes in the associated product directory.
      • getEFixCount

        public int getEFixCount()
        Deprecated. As of WAS 8.0.

        Answer the count of efixes in the bound product directory.

        Returns:
        int The count of efixes in the bound product directory.

      • basicGetEFixes

        protected java.util.ArrayList basicGetEFixes()
        Deprecated. As of WAS 8.0.
      • addEFixName

        protected void addEFixName(java.lang.String efixName)
        Deprecated. As of WAS 8.0.
      • removeEFixName

        protected void removeEFixName(java.lang.String efixName)
        Deprecated. As of WAS 8.0.
      • getEFixNames

        public java.util.Iterator getEFixNames()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the ids of the efixes in the associated product directory.

        Returns:
        Iterator An iterator across the ids of the efixes in the associated product directory.
      • basicGetEFixNames

        protected java.util.ArrayList basicGetEFixNames()
        Deprecated. As of WAS 8.0.
      • savePTF

        public boolean savePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
        Deprecated. As of WAS 8.0.

        Save the argument PTF into the bound product directory. Answer true or false, telling if the PTF was successfully saved.

        Parameters:
        aPTF - A PTF to be saved.
        Returns:
        True or false, telling if the PTF was successfully saved.
      • removePTF

        public boolean removePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
        Deprecated. As of WAS 8.0.

        Remove the argument PTF from the bound product directory. Answer true or false, telling if the PTF was successfully removed.

        Parameters:
        aPTF - A PTF to be removed.
        Returns:
        True or false, telling if the PTF was successfully removed.
      • addPTF

        protected void addPTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
        Deprecated. As of V8.0
      • basicRemovePTF

        protected void basicRemovePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
        Deprecated. As of V8.0
      • getPTFs

        public java.util.Iterator getPTFs()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageList()

        Answer an iterator across the PTFs in the associated product directory.

        Returns:
        Iterator An iterator across the PTFs in the associated product directory.
      • basicGetPTFs

        protected java.util.ArrayList basicGetPTFs()
        Deprecated. As of V8.0
      • addPTFName

        protected void addPTFName(java.lang.String ptfName)
        Deprecated. As of V8.0
      • removePTFName

        protected void removePTFName(java.lang.String ptfName)
        Deprecated. As of V8.0
      • getPTFNames

        public java.util.Iterator getPTFNames()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the ids of the PTFs in the associated product directory.

        Returns:
        Iterator An iterator across the ids of the PTFs in the associated product directory.
      • basicGetPTFNames

        protected java.util.ArrayList basicGetPTFNames()
        Deprecated. As of V8.0
      • getExtensions

        public java.util.Iterator getExtensions()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the extensions in the associated product directory.

        Returns:
        Iterator An iterator across the extensions in the associated product directory.
      • basicGetExtensions

        protected java.util.ArrayList basicGetExtensions()
        Deprecated. As of WAS 8.0.
      • getExtensionNames

        public java.util.Iterator getExtensionNames()
        Deprecated. As of WAS 8.0.

        Answer an iterator across the names of the extensions in the associated product directory.

        Returns:
        Iterator An iterator across the names of the extensions in the associated product directory.
      • basicGetExtensionNames

        protected java.util.ArrayList basicGetExtensionNames()
        Deprecated. As of WAS 8.0.
      • getRegistrars

        public java.util.Iterator getRegistrars()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarInstances()
        Returns:
        Iterator An iterator across the registrars in the associated registrar directory.
      • basicGetRegistrars

        protected java.util.ArrayList basicGetRegistrars()
        Deprecated. 
      • getRegistrarNames

        public java.util.Iterator getRegistrarNames()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarFileNames()
        Returns:
        Iterator An iterator across the names of the registrars in the associated registrar directory.
      • basicGetRegistrarNames

        protected java.util.ArrayList basicGetRegistrarNames()
        Deprecated. 
      • collectVersionInfo

        protected java.util.ArrayList collectVersionInfo(java.util.Iterator names)
        Deprecated. As of V8.0
      • getVersionInfo

        protected java.lang.Object getVersionInfo(java.lang.String filename)
        Deprecated. As of V8.0
      • loadVersionInfo

        protected java.lang.Object loadVersionInfo(java.lang.String filename)
        Deprecated. As of V8.0
      • loadAllVersionInfoByType

        public java.lang.String[] loadAllVersionInfoByType(java.lang.String type)
        Deprecated. This method is not the recommended way to retrieve version information of installed products by parsing product XML files. As of WAS 8.0 this method is deprecated.

        Answer a string array containing the contents of all files in the bound product directory having the specified type.

        Parameters:
        type - The type of file to load; see the constants 'PRODUCT_TYPE', and others.
        Returns:
        String[] An array holding the contents of the files of the specified type. Each file is loaded as a single string.
      • loadVersionInfoAsXMLString

        protected java.lang.String loadVersionInfoAsXMLString(java.lang.String filename,
                                                  boolean doXSLTransform)
        Deprecated. As of V8.0
      • loadFile

        protected java.lang.String loadFile(java.io.File file,
                                java.lang.String fileName)
                                     throws java.io.FileNotFoundException,
                                            java.io.IOException
        Deprecated. As of WAS 8.0.
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • getProductDir

        protected java.io.File getProductDir()
        Deprecated. As of WAS 8.0.
      • getProductDirName

        public java.lang.String getProductDirName()
        Deprecated. 
      • getVersionDir

        protected java.io.File getVersionDir()
        Deprecated. As of WAS 8.0.
      • getVersionDirName

        public java.lang.String getVersionDirName()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getVersionDirPath(String installRoot).

        Answer the version directory name bound into the receiver.

        Returns:
        String The name of the version directory bound into the receiver.
      • getVersionFileName

        public java.lang.String getVersionFileName(java.lang.String baseName)
        Deprecated. As of WAS 8.0.

        Answer the name of the argument file qualified to be within the bound version directory.

        Parameters:
        baseName - The base file name, to be qualified.
        Returns:
        String The base file name qualified as a file within the bound version directory.
      • getDTDDirName

        public java.lang.String getDTDDirName()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getDTDDirPath(String installRoot).

        Answer the DTD directory name bound into the receiver.

        Returns:
        String The name of the DTD directory bound into the receiver.
      • getLogDirName

        public java.lang.String getLogDirName()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getLogDirPath(String installRoot).

        Answer the log directory name bound into the receiver.

        Returns:
        String The name of the log directory bound into the receiver.
      • getBackupDirName

        public java.lang.String getBackupDirName()
        Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getBackupDirPath(String installRoot).

        Answer the backup directory name bound into the receiver.

        Returns:
        String The name of the backup directory bound into the receiver.
      • listFileNames

        protected java.util.ArrayList listFileNames(java.io.FilenameFilter filter)
        Deprecated. As of WAS V8.0
      • listFileNames

        protected java.util.ArrayList listFileNames(java.io.File[] files)
        Deprecated. As of WAS V8.0
      • listFiles

        protected java.io.File[] listFiles(java.io.FilenameFilter filter)
        Deprecated. As of WAS V8.0
      • toString

        public java.lang.String toString()
        Deprecated. As of WAS 8.0.

        Answer a string representation of the receiver. This representation currently displays the bound product directory name and the bound version directory name.

        Overrides:
        toString in class java.lang.Object
        Returns:
        String A string representation of the receiver.
      • initMetadataInstance

        protected boolean initMetadataInstance()
        Deprecated. 
        Init the WASMetadata instance if it's not initialized yet. Return true if the instance is initialized properly. Else return false.

        Returns:
        true if the instance is initialized properly. Else return false.
IBM WebSphere Application ServerTM
Release 9.0