javax.management.openmbean
Class OpenMBeanOperationInfoSupport
java.lang.Object
|
+--javax.management.MBeanFeatureInfo
|
+--javax.management.MBeanOperationInfo
|
+--javax.management.openmbean.OpenMBeanOperationInfoSupport
- All Implemented Interfaces:
- java.lang.Cloneable, OpenMBeanOperationInfo, java.io.Serializable
- public class OpenMBeanOperationInfoSupport
- extends MBeanOperationInfo
- implements OpenMBeanOperationInfo, java.io.Serializable
Describes an operation of an OpenMBean
- Version:
- $Revision: 1.6 $
- Author:
- Bronwen Cassidy, Warren Mira
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object obj)
Test the specified object for equality. |
OpenType |
getReturnOpenType()
Returns the returntype as an OpenType |
int |
hashCode()
Returns the hashcode of this OpenMBeanOperationInfo |
java.lang.String |
toString()
Returns a String representation of this OpenMBeanOperationInfoSupport |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OpenMBeanOperationInfoSupport
public OpenMBeanOperationInfoSupport(java.lang.String name,
java.lang.String description,
OpenMBeanParameterInfo[] signature,
OpenType returnOpenType,
int impact)
- Creates an instance of
OpenMBeanOperationInfoSupport
- Parameters:
name
- The name of this operationdescription
- The descriptionsignature
- The parameter[s] of this operationreturnOpenType
- The return typeimpact
- The impact of the operation- Throws:
ArrayStoreException
- If signature is not of type MBeanParameterInfo
- See Also:
OpenMBeanOperationInfo.getImpact()
getReturnOpenType
public OpenType getReturnOpenType()
- Returns the returntype as an
OpenType
- Specified by:
getReturnOpenType
in interface OpenMBeanOperationInfo
- Returns:
- OpenType The OpenType instance
equals
public boolean equals(java.lang.Object obj)
- Test the specified object for equality.
This method will return true if and only if the following
conditions are true:
- obj is not null
- obj also implements OpenMBeanOperationInfo
- their names are equal
- their signatures are equal
- their return opentypes are equal
- their impacts are equal
- Specified by:
equals
in interface OpenMBeanOperationInfo
- Overrides:
equals
in class MBeanOperationInfo
- Parameters:
obj
- The object being compared to- Returns:
- boolean
hashCode
public int hashCode()
- Returns the hashcode of this
OpenMBeanOperationInfo
- Specified by:
hashCode
in interface OpenMBeanOperationInfo
- Overrides:
hashCode
in class MBeanOperationInfo
- Returns:
- int The hashcode
toString
public java.lang.String toString()
- Returns a String representation of this OpenMBeanOperationInfoSupport
- Specified by:
toString
in interface OpenMBeanOperationInfo
- Overrides:
toString
in class java.lang.Object
- Returns:
- String The string representation
Copyright © 2001-2002 MX4J Team. All Rights Reserved.