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

Field Summary
 
Fields inherited from class javax.management.MBeanOperationInfo
ACTION, ACTION_INFO, INFO, UNKNOWN
 
Constructor Summary
OpenMBeanOperationInfoSupport(java.lang.String name, java.lang.String description, OpenMBeanParameterInfo[] signature, OpenType returnOpenType, int impact)
          Creates an instance of OpenMBeanOperationInfoSupport
 
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 javax.management.MBeanOperationInfo
getImpact, getReturnType, getSignature
 
Methods inherited from class javax.management.MBeanFeatureInfo
clone, getDescription, getName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.openmbean.OpenMBeanOperationInfo
getDescription, getImpact, getName, getReturnType, getSignature
 

Constructor Detail

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 operation
description - The description
signature - The parameter[s] of this operation
returnOpenType - The return type
impact - The impact of the operation
Throws:
java.lang.ArrayStoreException - If signature is not of type MBeanParameterInfo
See Also:
OpenMBeanOperationInfo.getImpact()
Method Detail

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:

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.