All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.ProductInfo
java.lang.Object
|
+----com.sgi.sysadm.ui.ProductInfo
- public abstract class ProductInfo
- extends Object
-
PRODUCT_INFO
-
-
ProductInfo()
-
-
computeProductAttrs(String)
- Subclasses override this method that ProductInfo calls when it
needs the product attributes for a particular product.
-
getProductAttrs(String, ResultListener)
- Determines the product attributes pertaining to a product.
-
setHostContext(HostContext)
- Set the HostContext needed for creating ProductInfo instances.
-
setProductAttrs(String, String)
- Called by subclass to report result of computeProductAttrs
PRODUCT_INFO
protected static final String PRODUCT_INFO
ProductInfo
public ProductInfo()
setHostContext
public void setHostContext(HostContext hostContext)
- Set the HostContext needed for creating ProductInfo instances.
- Parameters:
- hostContext - HostContext for creating ProductInfo
instances.
getProductAttrs
public synchronized void getProductAttrs(String product,
ResultListener listener)
- Determines the product attributes pertaining to a product.
- Parameters:
- product - The name of the product
- listener - Gets result of this operation. The
getResult method should be called on
the ResultEvent passed to listener.succeeded
to get an ResourceBundle containing the Attributes.
computeProductAttrs
protected abstract void computeProductAttrs(String product)
- Subclasses override this method that ProductInfo calls when it
needs the product attributes for a particular product. Subclass
must eventually call setProductAttrs when it is done computing the
product attributes.
- Parameters:
- product - The product to get the attributes of
setProductAttrs
protected synchronized void setProductAttrs(String product,
String attrs)
- Called by subclass to report result of computeProductAttrs
- Parameters:
- product - The product that this result is for
- attrs - String the attrs for this product
All Packages Class Hierarchy This Package Previous Next Index