com.ibm.websphere.product

Class WASProduct

  1. java.lang.Object
  2. extended bycom.ibm.websphere.product.WASProduct

Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.
  1. public class WASProduct
  2. 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

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

Constructor Summary

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

Modifier and Type Method and Description
  1. boolean
addComponent(com.ibm.websphere.product.xml.component.component aComponent)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
addComponentName(java.lang.String componentName)
Deprecated. As of V8.0
  1. protected
  2. void
addEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
addEFixName(java.lang.String efixName)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
addException(java.lang.String msgKey)
Deprecated. As of V8.0
  1. protected
  2. void
addException(java.lang.String msgKey,java.lang.Exception e)
Deprecated. As of V8.0
  1. protected
  2. void
addException(java.lang.String msgKey,java.lang.Object[] msgArgs,java.lang.Exception e)
Deprecated. As of V8.0
  1. protected
  2. void
addException(com.ibm.websphere.product.WASProductException e)
Deprecated. As of V8.0
  1. protected
  2. void
addProductName(java.lang.String productName)
Deprecated. As of V8.0
  1. protected
  2. void
addPTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
Deprecated. As of V8.0
  1. protected
  2. void
addPTFName(java.lang.String ptfName)
Deprecated. As of V8.0
  1. protected
  2. void
addRecoverableError(org.xml.sax.SAXParseException e)
Deprecated. As of V8.0
  1. protected
  2. void
addWarning(org.xml.sax.SAXParseException e)
Deprecated. As of V8.0
  1. protected
  2. void
basicAddComponent(com.ibm.websphere.product.xml.component.component aComponent)
Deprecated. As of V8.0
  1. protected
  2. void
basicAddProduct(com.ibm.websphere.product.product aProduct)
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetComponentNames()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetComponents()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetEFixes()
Deprecated. As of WAS 8.0.
  1. protected
  2. java.util.ArrayList
basicGetEFixNames()
Deprecated. As of WAS 8.0.
  1. protected
  2. java.util.ArrayList
basicGetExtensionNames()
Deprecated. As of WAS 8.0.
  1. protected
  2. java.util.ArrayList
basicGetExtensions()
Deprecated. As of WAS 8.0.
  1. protected
  2. java.util.ArrayList
basicGetProductNames()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetProducts()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetPTFNames()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetPTFs()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
basicGetRegistrarNames()
Deprecated.
  1. protected
  2. java.util.ArrayList
basicGetRegistrars()
Deprecated.
  1. protected
  2. void
basicRemoveComponent(com.ibm.websphere.product.xml.component.component aComponent)
Deprecated. As of V8.0
  1. protected
  2. void
basicRemoveEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
basicRemoveProduct(com.ibm.websphere.product.product aProduct)
Deprecated. As of V8.0
  1. protected
  2. void
basicRemovePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
Deprecated. As of V8.0
  1. protected
  2. void
clearExceptions()
Deprecated. As of V8.0
  1. protected
  2. java.util.ArrayList
collectVersionInfo(java.util.Iterator names)
Deprecated. As of V8.0
  1. boolean
componentPresent(java.lang.String name)
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isComponentInstalled(String componentName)
  1. static
  2. 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)
  1. static
  2. 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)
  1. static
  2. 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)
  1. static
  2. 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)
  1. protected static
  2. com.ibm.websphere.product.WASProductException
createException(java.lang.String msgKey,java.lang.Object[] msgArgs,java.lang.Exception e)
Deprecated. As of V8.0
  1. boolean
efixPresent(java.lang.String id)
Deprecated. As of WAS 8.0.
  1. boolean
extensionPresent(java.lang.String name)
Deprecated. As of WAS 8.0.
  1. java.lang.String
getBackupDirName()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getBackupDirPath(String installRoot).
  1. static
  2. 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)
  1. 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)
  1. 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)
  1. java.util.Iterator
getComponentNames()
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getComponents()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledComponentList()
  1. java.lang.String
getDTDDirName()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getDTDDirPath(String installRoot).
  1. static
  2. 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)
  1. com.ibm.websphere.product.xml.efix.efix
getEFixByFilename(java.lang.String basename)
Deprecated. As of WAS 8.0.
  1. com.ibm.websphere.product.xml.efix.efix
getEFixById(java.lang.String id)
Deprecated. As of WAS 8.0.
  1. int
getEFixCount()
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getEFixes()
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getEFixNames()
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getExceptions()
Deprecated. As of WAS 8.0.
  1. com.ibm.websphere.product.xml.extension.extension
getExtensionByFilename(java.lang.String basename)
Deprecated. As of WAS 8.0.
  1. com.ibm.websphere.product.xml.extension.extension
getExtensionByName(java.lang.String name)
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getExtensionNames()
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getExtensions()
Deprecated. As of WAS 8.0.
  1. java.lang.String
getLogDirName()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getLogDirPath(String installRoot).
  1. static
  2. 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)
  1. com.ibm.websphere.product.xml.websphere.websphere
getPlatform()
Deprecated. As of WAS 8.0. Replaced by WASDirectory.getWASProductInfo(String productID)
  1. protected
  2. java.io.File
getProductDir()
Deprecated. As of WAS 8.0.
  1. java.lang.String
getProductDirName()
Deprecated.
  1. 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)
  1. 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)
  1. java.util.Iterator
getPTFNames()
Deprecated. As of WAS 8.0.
  1. java.util.Iterator
getPTFs()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getInstalledMaintenancePackageList()
  1. java.util.Iterator
getRecoverableErrors()
Deprecated. As of WAS 8.0.
  1. 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)
  1. java.util.Iterator
getRegistrarNames()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarFileNames()
  1. java.util.Iterator
getRegistrars()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.getRegistrarInstances()
  1. protected static
  2. java.lang.String
getString(java.lang.String msgCode)
Deprecated. As of V8.0
  1. protected static
  2. java.lang.String
getString(java.lang.String msgCode,java.lang.Object arg)
Deprecated. As of V8.0
  1. protected static
  2. java.lang.String
getString(java.lang.String msgCode,java.lang.Object[] msgArgs)
Deprecated. As of V8.0
  1. protected static
  2. java.lang.String
getString(java.lang.String msgCode,java.lang.Object arg1,java.lang.Object arg2)
Deprecated. As of V8.0
  1. static
  2. java.lang.String
getTmpDirName()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.utils.WASDirectoryHelper.getTmpDirPath()
  1. protected
  2. java.io.File
getVersionDir()
Deprecated. As of WAS 8.0.
  1. java.lang.String
getVersionDirName()
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectoryHelper.getVersionDirPath(String installRoot).
  1. static
  2. 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)
  1. java.lang.String
getVersionFileName(java.lang.String baseName)
Deprecated. As of WAS 8.0.
  1. protected
  2. java.lang.Object
getVersionInfo(java.lang.String filename)
Deprecated. As of V8.0
  1. java.util.Iterator
getWarnings()
Deprecated. As of WAS 8.0.
  1. protected
  2. 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
  1. boolean
initializeLogAndBackup()
Deprecated. As of WAS 8.0.
  1. protected
  2. boolean
initMetadataInstance()
Deprecated. Init the WASMetadata instance if it's not initialized yet.
  1. static
  2. void
InitResourceBundle()
Deprecated. As of WAS 8.0.
  1. protected
  2. java.util.ArrayList
listFileNames(java.io.File[] files)
Deprecated. As of WAS V8.0
  1. protected
  2. java.util.ArrayList
listFileNames(java.io.FilenameFilter filter)
Deprecated. As of WAS V8.0
  1. protected
  2. java.io.File[]
listFiles(java.io.FilenameFilter filter)
Deprecated. As of WAS V8.0
  1. 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.
  1. protected
  2. java.lang.String
loadFile(java.io.File file,java.lang.String fileName)
Deprecated. As of WAS 8.0.
  1. protected
  2. java.lang.Object
loadVersionInfo(java.lang.String filename)
Deprecated. As of V8.0
  1. protected
  2. java.lang.String
loadVersionInfoAsXMLString(java.lang.String filename,boolean doXSLTransform)
Deprecated. As of V8.0
  1. int
numExceptions()
Deprecated. As of WAS 8.0.
  1. int
numRecoverableErrors()
Deprecated. As of WAS 8.0.
  1. int
numWarnings()
Deprecated. As of WAS 8.0.
  1. static
  2. 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)
  1. boolean
ptfPresent(java.lang.String id)
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isMaintenancePackageInstalled(String maintenancePackageID)
  1. boolean
registrarPresent(java.lang.String id)
Deprecated. As of WAS 8.0, replaced by com.ibm.websphere.product.WASDirectory.isRegistrarPresent(String id)
  1. boolean
removeComponent(com.ibm.websphere.product.xml.component.component aComponent)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
removeComponentName(java.lang.String componentName)
Deprecated. As of V8.0
  1. boolean
removeEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
removeEFixName(java.lang.String efixName)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
removeProductName(java.lang.String productName)
Deprecated. As of V8.0
  1. boolean
removePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
Deprecated. As of WAS 8.0.
  1. protected
  2. void
removePTFName(java.lang.String ptfName)
Deprecated. As of V8.0
  1. boolean
saveEFix(com.ibm.websphere.product.xml.efix.efix anEFix)
Deprecated. As of WAS 8.0.
  1. boolean
savePTF(com.ibm.websphere.product.xml.efix.ptf aPTF)
Deprecated. As of WAS 8.0.
  1. java.lang.String
toString()
Deprecated. As of WAS 8.0.
  1. protected
  2. 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

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

pgmUpdate

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

PRODUCTID_EMBEDDED_EXPRESS

  1. public static final java.lang.String PRODUCTID_EMBEDDED_EXPRESS
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_EXPRESS

  1. public static final java.lang.String PRODUCTID_EXPRESS
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_BASE

  1. public static final java.lang.String PRODUCTID_BASE
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_ND

  1. public static final java.lang.String PRODUCTID_ND
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_XD

  1. public static final java.lang.String PRODUCTID_XD
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_WXD

  1. public static final java.lang.String PRODUCTID_WXD
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_PME

  1. public static final java.lang.String PRODUCTID_PME
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_CLIENT

  1. public static final java.lang.String PRODUCTID_CLIENT
Deprecated.
Constants for the known product ids.
See Also:

PRODUCTID_JDK

  1. public static final java.lang.String PRODUCTID_JDK
Deprecated.
Constants for the known product ids.
See Also:

PRODUCT_IDS

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

REGISTRARID_BASE

  1. public static final java.lang.String REGISTRARID_BASE
Deprecated.
Constants for the known registrar ids.
See Also:

REGISTRARID_ADD

  1. public static final java.lang.String REGISTRARID_ADD
Deprecated.
Constants for the known registrar ids.
See Also:

bundleIdMsg

  1. public static final java.lang.String bundleIdMsg
Deprecated.
The id of the message bundle use by WASProduct.
See Also:

bundleIdText

  1. public static final java.lang.String bundleIdText
Deprecated.
See Also:

msgs

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

texts

  1. public static java.util.ResourceBundle texts
Deprecated.

boundExceptions

  1. protected java.util.ArrayList boundExceptions
Deprecated.

recoverableErrors

  1. protected java.util.ArrayList recoverableErrors
Deprecated.

warnings

  1. protected java.util.ArrayList warnings
Deprecated.

INSTALL_ROOT_PROPERTY_NAME

  1. public static final java.lang.String INSTALL_ROOT_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

VERSION_DIR_PROPERTY_NAME

  1. public static final java.lang.String VERSION_DIR_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

DTD_DIR_PROPERTY_NAME

  1. public static final java.lang.String DTD_DIR_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

LOG_DIR_PROPERTY_NAME

  1. public static final java.lang.String LOG_DIR_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

BACKUP_DIR_PROPERTY_NAME

  1. public static final java.lang.String BACKUP_DIR_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

TMP_DIR_PROPERTY_NAME

  1. public static final java.lang.String TMP_DIR_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

JAVA_TMP_DIR_PROPERTY_NAME

  1. public static final java.lang.String JAVA_TMP_DIR_PROPERTY_NAME
Deprecated.
Constants for providing product directories.
See Also:

PROPERTIES_DIR_NAME

  1. public static final java.lang.String PROPERTIES_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

VERSION_DIR_NAME

  1. public static final java.lang.String VERSION_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

DTD_DIR_NAME

  1. public static final java.lang.String DTD_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

LOG_DIR_NAME

  1. public static final java.lang.String LOG_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

UPDATE_DIR_NAME

  1. public static final java.lang.String UPDATE_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

BACKUP_DIR_NAME

  1. public static final java.lang.String BACKUP_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

DEFAULT_TMP_DIR_NAME

  1. public static final java.lang.String DEFAULT_TMP_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

FULL_INSTALL_DIR_NAME

  1. public static final java.lang.String FULL_INSTALL_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

CURRENT_VERSION_DIR_NAME

  1. public static final java.lang.String CURRENT_VERSION_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

NIF_DIR_NAME

  1. public static final java.lang.String NIF_DIR_NAME
Deprecated.
Default names for product directories.
See Also:

products

  1. protected java.util.ArrayList products
Deprecated.

productNames

  1. protected java.util.ArrayList productNames
Deprecated.

components

  1. protected java.util.ArrayList components
Deprecated.

componentNames

  1. protected java.util.ArrayList componentNames
Deprecated.

efixes

  1. protected java.util.ArrayList efixes
Deprecated.

efixNames

  1. protected java.util.ArrayList efixNames
Deprecated.

ptfs

  1. protected java.util.ArrayList ptfs
Deprecated.

ptfNames

  1. protected java.util.ArrayList ptfNames
Deprecated.

extensions

  1. protected java.util.ArrayList extensions
Deprecated.

extensionNames

  1. protected java.util.ArrayList extensionNames
Deprecated.

registrars

  1. protected java.util.ArrayList registrars
Deprecated.

registrarNames

  1. protected java.util.ArrayList registrarNames
Deprecated.

versionInfo

  1. protected java.util.HashMap versionInfo
Deprecated.

PRODUCT_TYPE

  1. public static final java.lang.String PRODUCT_TYPE
Deprecated.

Typing constants for loading version info.

See Also:

COMPONENT_TYPE

  1. public static final java.lang.String COMPONENT_TYPE
Deprecated.

Typing constants for loading version info.

See Also:

EFIX_TYPE

  1. public static final java.lang.String EFIX_TYPE
Deprecated.

Typing constants for loading version info.

See Also:

PTF_TYPE

  1. public static final java.lang.String PTF_TYPE
Deprecated.

Typing constants for loading version info.

See Also:

EXTENSION_TYPE

  1. public static final java.lang.String EXTENSION_TYPE
Deprecated.

Typing constants for loading version info.

See Also:

productDir

  1. protected java.io.File productDir
Deprecated.

productDirName

  1. protected java.lang.String productDirName
Deprecated.

versionDir

  1. protected java.io.File versionDir
Deprecated.

versionDirName

  1. protected java.lang.String versionDirName
Deprecated.

dtdDir

  1. protected java.io.File dtdDir
Deprecated.

dtdDirName

  1. protected java.lang.String dtdDirName
Deprecated.

logDir

  1. protected java.io.File logDir
Deprecated.

logDirName

  1. protected java.lang.String logDirName
Deprecated.

backupDir

  1. protected java.io.File backupDir
Deprecated.

backupDirName

  1. protected java.lang.String backupDirName
Deprecated.

Constructor Detail

WASProduct

  1. 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

  1. 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

  1. public WASProduct(java.lang.String productDirName,
  2. java.lang.String versionDirName,
  3. java.lang.String dtdDirName,
  4. java.lang.String logDirName,
  5. 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

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

getString

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

getString

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

getString

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

getString

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

addException

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

numExceptions

  1. 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

  1. 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

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

numRecoverableErrors

  1. 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

  1. 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

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

numWarnings

  1. 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

  1. 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

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

clearExceptions

  1. protected void clearExceptions( )
Deprecated. As of V8.0

addException

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

addException

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

addException

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

createException

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

computeVersionDirName

  1. 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

  1. 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

  1. public static java.lang.String computeDTDDirName( java.lang.String versionDirName)
  2. 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

  1. 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

  1. public static java.lang.String computeLogDirName( java.lang.String productDirName)
  2. 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

  1. 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

  1. public static java.lang.String computeBackupDirName( java.lang.String versionDirName)
  2. 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

  1. 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

  1. 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

  1. public static java.lang.String preparePath( java.lang.String path,
  2. 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

  1. protected void initialize(java.lang.String useProductDirName,
  2. java.lang.String useVersionDirName,
  3. java.lang.String useDTDDirName,
  4. java.lang.String useLogDirName,
  5. java.lang.String useBackupDirName)
Deprecated. As of V8.0

initializeLogAndBackup

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

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

basicAddProduct

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

basicRemoveProduct

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

basicGetProductNames

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

addProductName

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

removeProductName

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

getComponents

  1. 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

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

basicRemoveComponent

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

basicGetComponents

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

getComponentNames

  1. 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

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

addComponentName

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

removeComponentName

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

saveEFix

  1. 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

  1. 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

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

basicRemoveEFix

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

getEFixes

  1. 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

  1. 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

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

addEFixName

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

removeEFixName

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

getEFixNames

  1. 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

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

savePTF

  1. 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

  1. 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

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

basicRemovePTF

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

getPTFs

  1. 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

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

addPTFName

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

removePTFName

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

getPTFNames

  1. 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

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

getExtensions

  1. 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

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

getExtensionNames

  1. 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

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

getRegistrars

  1. 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

  1. protected java.util.ArrayList basicGetRegistrars( )
Deprecated.

getRegistrarNames

  1. 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

  1. protected java.util.ArrayList basicGetRegistrarNames( )
Deprecated.

collectVersionInfo

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

getVersionInfo

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

loadVersionInfo

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

loadAllVersionInfoByType

  1. 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

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

loadFile

  1. protected java.lang.String loadFile( java.io.File file,
  2. java.lang.String fileName)
  3. throws java.io.FileNotFoundException
  4. java.io.IOException
Deprecated. As of WAS 8.0.
Throws:
java.io.FileNotFoundException
java.io.IOException

getProductDir

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

getProductDirName

  1. public java.lang.String getProductDirName( )
Deprecated.

getVersionDir

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

getVersionDirName

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

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

listFileNames

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

listFiles

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

toString

  1. 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

  1. 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.