|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.plateng.gpr.registry.ProductInfoImpl
public class ProductInfoImpl
Provides information about the product that is represented by the ProductInfo object and that is
installed in a given BEA Home directory.
| Method Summary | |
|---|---|
java.lang.String[] |
getComponents()
Returns the names of the components of the product that is represented by the ProductInfo object. |
java.lang.String |
getDefaultJavaHome()
Returns the Java home of the default Java installation. |
java.lang.String |
getDefaultJavaVendor()
Returns the Java vendor of the default Java installation. |
java.lang.String |
getDefaultJavaVersion()
Returns the version of the default Java installation. |
java.lang.String |
getNodeManagerListenPort()
Returns the Node Manager listen port. |
java.lang.String |
getProductDir()
Returns the full path of the directory in which the product represented by the ProductInfo object is installed. |
java.lang.String |
getProductName()
Returns the name of the installed product that is represented by the ProductInfo object. |
java.lang.String |
getProductVersion()
Returns the version of the installed product. |
java.lang.String |
getProgramGroup()
Returns the name of the program group in which the Start menu entry is created for the product. |
java.lang.String |
getStartMenuLocation()
On Windows system, this method returns the absolute path of the directory containing the Start menu entries. |
java.lang.String[] |
getSubComponents(java.lang.String component)
Returns the names of all subcomponents for a given component of the product that is represented by the ProductInfo object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getProductName()
ProductInfo object.
getProductName in interface ProductInfopublic java.lang.String getProductVersion()
getProductVersion in interface ProductInfopublic java.lang.String getDefaultJavaHome()
getDefaultJavaHome in interface ProductInfoString, to the default
Java installation.public java.lang.String getDefaultJavaVendor()
getDefaultJavaVendor in interface ProductInfopublic java.lang.String getDefaultJavaVersion()
getDefaultJavaVersion in interface ProductInfopublic java.lang.String getStartMenuLocation()
C:\Documents and Settings\USER\Start Menu\Programs
getStartMenuLocation in interface ProductInfonull on Unix systems.public java.lang.String getProgramGroup()
getProgramGroup in interface ProductInfonull
on Unix systems.public java.lang.String[] getComponents()
ProductInfo object.
getComponents in interface ProductInfoString containing the component names.
public java.lang.String[] getSubComponents(java.lang.String component)
throws java.lang.IllegalArgumentException
ProductInfo object.
getSubComponents in interface ProductInfocomponent - The name of the component
String containing the subcomponent names, or an empty array
if the product does not have a component that matches the input parameter.
java.lang.IllegalArgumentException - if the parameter is null or is an empty stringpublic java.lang.String getNodeManagerListenPort()
getNodeManagerListenPort in interface ProductInfoString containing the Node Manager listen port, or null
if not found.public java.lang.String getProductDir()
ProductInfo object is installed.
getProductDir in interface ProductInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||