|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RegistryInfo
Inspects the registry.xml file of a BEA Home directory for installed products and subcomponents.
| Method Summary | |
|---|---|
java.lang.String[] |
getJavaHomes()
Returns the locations of all Java installations in the current BEA Home directory. |
java.lang.String |
getJavaVendor(java.lang.String javaHome)
For a given Java home, returns the vendor of the JVM. |
java.lang.String |
getJavaVersion(java.lang.String javaHome)
For a given Java home, returns the version of the JVM. |
ProductInfo |
getProductInfo(java.lang.String productName,
java.lang.String productVersion)
Returns an object containing information about the installed product that matches the parameters supplied. |
ProductInfo[] |
getProductInfos()
Returns information about all the products installed in the current BEA Home directory. |
| Method Detail |
|---|
java.lang.String[] getJavaHomes()
String containing the Java home directories that are
installed in the current BEA Home directory.
java.lang.String getJavaVendor(java.lang.String javaHome)
throws java.lang.IllegalArgumentException
javaHome - The absolute directory path of the Java home.
java.lang.IllegalArgumentException - if the parameter is null or is an empty string.
java.lang.String getJavaVersion(java.lang.String javaHome)
throws java.lang.IllegalArgumentException
javaHome - The absolute directory of the Java home.
java.lang.IllegalArgumentException - if the parameter is null or is an empty string.
ProductInfo getProductInfo(java.lang.String productName,
java.lang.String productVersion)
throws java.lang.IllegalArgumentException
productName - The name of the product to match.productVersion - The product version. For example: 7.0.0.0, 8.1.0.0, or 9.0.0.0.
ProductInfo object, which contains the product
information, or null if no match is found.
java.lang.IllegalArgumentException - if the parameter is null or is an empty string.ProductInfo[] getProductInfos()
ProductInfo object is returned for each product version.
ProductInfo objects, which contain the
product information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||