public class WASSystem
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllInstallPackageLocations()
Returns all cached Websphere family product install locations.
|
java.lang.String[] |
getInstallPackageLocationsByProductID(java.lang.String sProductID)
Returns cached install locations based on product ID.
|
java.lang.String |
getNIFRegistryFile()
IBM WEBSPHERE INTERNAL USE ONLY.
|
java.lang.String[] |
getNonCachedAllInstallPackageLocations()
Returns all Websphere family product install locations.
|
java.lang.String[] |
getNonCachedInstallPackageLocationsByProductID(java.lang.String sProductID)
Returns Websphere family product install locations by product ID.
|
java.lang.String[] |
getNonCachedWASLocations()
Returns IBM Websphere Application Server install locations.
|
java.lang.String[] |
getWASLocations()
Returns all IBM WebSphere Application Server install locations.
|
java.lang.String |
getWASRegistryFile()
IBM WEBSPHERE INTERNAL USE ONLY.
|
static WASSystem |
getWASSystemInstance()
Gets an instance of WASSystem.
|
static WASSystem |
getWASSystemInstance(java.lang.String sRegistryFile)
Gets an instance of WASSystem, depending on the registry file supplied.
|
protected java.lang.String |
getWindowsSystemEnv(java.lang.String sEnvName)
IBM WEBSPHERE INTERNAL USE ONLY.
|
static java.lang.String |
normalizePathNoEndingSlash(java.lang.String sPath)
IBM WEBSPHERE INTERNAL USE ONLY.
|
void |
print()
Print cached install locations of all IBM Websphere family product from the WASSystem instance.
|
void |
setNIFRegistryFile(java.lang.String sNIFRegistryFile)
IBM WEBSPHERE INTERNAL USE ONLY.
|
void |
setWASLocations(java.lang.String[] saWASLocations)
IBM WEBSPHERE INTERNAL USE ONLY.
|
void |
setWASRegistryFile(java.lang.String sWASRegistryFile)
IBM WEBSPHERE INTERNAL USE ONLY.
|
public static WASSystem getWASSystemInstance()
public static WASSystem getWASSystemInstance(java.lang.String sRegistryFile)
sRegistryFile
- The IBM WebSphere Application Server install registry file location.
public java.lang.String getNIFRegistryFile()
public void setNIFRegistryFile(java.lang.String sNIFRegistryFile)
sNIFRegistryFile
- The WAS registry file full path.public java.lang.String getWASRegistryFile()
public void setWASRegistryFile(java.lang.String sWASRegistryFile)
sWASRegistryFile
- The WAS registry file full path.public java.lang.String[] getWASLocations()
public void setWASLocations(java.lang.String[] saWASLocations)
public java.lang.String[] getAllInstallPackageLocations()
public java.lang.String[] getInstallPackageLocationsByProductID(java.lang.String sProductID)
public java.lang.String[] getNonCachedAllInstallPackageLocations()
public java.lang.String[] getNonCachedInstallPackageLocationsByProductID(java.lang.String sProductID)
sProductID
- the product ID of the product of interest.
public java.lang.String[] getNonCachedWASLocations()
public void print()
protected java.lang.String getWindowsSystemEnv(java.lang.String sEnvName)
sEnvName
- The input environmental variable name.
public static java.lang.String normalizePathNoEndingSlash(java.lang.String sPath)
sPath
- The input path.