|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mfwk.cib.CIBObject
com.sun.mfwk.cib.CIBProduct
Default implementation of a CIB product MBean
Field Summary |
Fields inherited from interface com.sun.mfwk.cib.CIBProductMBean |
defaultVendor |
Fields inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
ModelVersion |
Constructor Summary | |
CIBProduct()
|
|
CIBProduct(java.lang.String theProductName,
java.lang.String theProductVersion,
java.lang.String thePatchId,
long theInstallTime,
java.lang.String theVendorName)
|
Method Summary | |
void |
addApplication(javax.management.ObjectName applObjectName)
Add an application ObjectName into the CIBProduct object. |
javax.management.ObjectName |
getApplicationByName(java.lang.String name)
Returns the ObjectName for a given application |
javax.management.ObjectName[] |
getApplications()
Returns the list of ObjectName(s) of each Application instances running into the Product |
long |
getInstallTime()
Returns the installation time of the component product |
java.lang.String |
getPatchId()
Returns the PatchID String which represents the path revision applied to the Componet product |
java.lang.String |
getProductName()
Returns the product name |
java.lang.String |
getProductVersion()
Provides the product version |
java.lang.String |
getVendorName()
Returns as a String the Vendor name. |
void |
removeApplication(javax.management.ObjectName applObjectName)
remove an application object name from the CIBProduct |
void |
setInstallTime(long date)
Allow to set the installtime date |
void |
setPatchId(java.lang.String productPatchId)
Allow to set the patchId |
void |
setProductName(java.lang.String productName)
Allows to set the ProductName of the product |
void |
setVendorName(java.lang.String vendorName)
Allow to set the vendor name |
void |
setVersion(java.lang.String productVersion)
Allow to set the version of the product |
Methods inherited from class com.sun.mfwk.cib.CIBObject |
getModelVersion, getName, getType, postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
getModelVersion, getName, getType |
Constructor Detail |
public CIBProduct()
public CIBProduct(java.lang.String theProductName, java.lang.String theProductVersion, java.lang.String thePatchId, long theInstallTime, java.lang.String theVendorName)
Method Detail |
public void addApplication(javax.management.ObjectName applObjectName)
addApplication
in interface CIBProductIf
applObjectName
- ObjectNamepublic void removeApplication(javax.management.ObjectName applObjectName) throws CIBException
removeApplication
in interface CIBProductIf
applObjectName
- ObjectName
CIBException
public void setProductName(java.lang.String productName)
setProductName
in interface CIBProductIf
productName
- Stringpublic void setVersion(java.lang.String productVersion)
setVersion
in interface CIBProductIf
productVersion
- Stringpublic void setPatchId(java.lang.String productPatchId)
setPatchId
in interface CIBProductIf
productPatchId
- Stringpublic void setInstallTime(long date)
setInstallTime
in interface CIBProductIf
date
- longpublic void setVendorName(java.lang.String vendorName)
CIBProductIf
setVendorName
in interface CIBProductIf
vendorName
- Stringpublic java.lang.String getProductName() throws javax.management.InvalidAttributeValueException
getProductName
in interface CIBProductMBean
javax.management.InvalidAttributeValueException
public java.lang.String getProductVersion() throws javax.management.InvalidAttributeValueException
getProductVersion
in interface CIBProductMBean
javax.management.InvalidAttributeValueException
public java.lang.String getPatchId()
getPatchId
in interface CIBProductMBean
public java.lang.String getVendorName() throws javax.management.InvalidAttributeValueException
getVendorName
in interface CIBProductMBean
javax.management.InvalidAttributeValueException
public long getInstallTime()
getInstallTime
in interface CIBProductMBean
public javax.management.ObjectName[] getApplications()
getApplications
in interface CIBProductMBean
public javax.management.ObjectName getApplicationByName(java.lang.String name)
getApplicationByName
in interface CIBProductMBean
name
- String
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |