com.ibm.retail.si.mgmt.monitor
Class MonitorPolicy
java.lang.Object
|
+--com.ibm.retail.si.mgmt.monitor.MonitorPolicy
- All Implemented Interfaces:
- java.io.Serializable
- public class MonitorPolicy
- extends java.lang.Object
- implements java.io.Serializable
Monitor Policy Object. Contains the information required to manage a monitor, system wide, and is
used in conjunction with MonitorManagerMBean
.
- Author:
- Chris D Arrington, Kriselie D Rivera, Paul Ruocchio
- See Also:
- Serialized Form
Constructor Summary |
MonitorPolicy(java.lang.String monitorClassName,
javax.management.AttributeList attributeList)
|
Method Summary |
boolean |
equals(java.lang.Object o)
Determines equality by comparing the policies' identifiers |
javax.management.AttributeList |
getAttributeList()
|
java.lang.String |
getId()
Unique identifier for this policy, automatically generated
in the constructor of this object. |
java.lang.String |
getMonitorClassName()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MonitorPolicy
public MonitorPolicy(java.lang.String monitorClassName,
javax.management.AttributeList attributeList)
- Parameters:
monitorClassName
- - The name of the monitor class to be created.attributeList
- - The attribute list with all the attributes.
getMonitorClassName
public java.lang.String getMonitorClassName()
- Returns:
- String the monitor class name.
getAttributeList
public javax.management.AttributeList getAttributeList()
- Returns:
- AttributeList the list with all the attributes.
getId
public java.lang.String getId()
- Unique identifier for this policy, automatically generated
in the constructor of this object. One of it's uses is to link this
policy to the instantiated Monitor MBean, by adding it as a key
in the Monitor's ObjectName.
- Returns:
- Unique String identifier for this policy
equals
public boolean equals(java.lang.Object o)
- Determines equality by comparing the policies' identifiers
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004