Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.management.openmbean
Class OpenMBeanOperationInfoSupport  view OpenMBeanOperationInfoSupport download OpenMBeanOperationInfoSupport.java

java.lang.Object
  extended byjavax.management.MBeanFeatureInfo
      extended byjavax.management.MBeanOperationInfo
          extended byjavax.management.openmbean.OpenMBeanOperationInfoSupport
All Implemented Interfaces:
java.lang.Cloneable, OpenMBeanOperationInfo, java.io.Serializable

public class OpenMBeanOperationInfoSupport
extends javax.management.MBeanOperationInfo
implements OpenMBeanOperationInfo, java.io.Serializable

OpenMBeanOperationInfo implementation

Version:
$Revision: 1.1.2.1 $

Field Summary
private  int cachedHashCode
           
private  java.lang.String cachedToString
           
private  OpenType returnOpenType
          The open type of the return value
private static long serialVersionUID
           
 
Fields inherited from class javax.management.MBeanOperationInfo
ACTION, ACTION_INFO, INFO, UNKNOWN
 
Fields inherited from class javax.management.MBeanFeatureInfo
description, name
 
Constructor Summary
OpenMBeanOperationInfoSupport(java.lang.String name, java.lang.String description, OpenMBeanParameterInfo[] signature, OpenType returnOpenType, int impact)
          Contruct an OpenMBeanOperationInfoSupport
 
Method Summary
private static javax.management.MBeanParameterInfo[] convertArray(OpenMBeanParameterInfo[] array)
           
 boolean equals(java.lang.Object obj)
          Compares an object for equality with the implementing class.
 OpenType getReturnOpenType()
          Retrieves the open type return type of operation.
 int hashCode()
          Generates a hashcode for the implementation.
 java.lang.String toString()
          A string representation of the open mbean operation info.
 
Methods inherited from class javax.management.MBeanOperationInfo
clone, getImpact, getReturnType, getSignature
 
Methods inherited from class javax.management.MBeanFeatureInfo
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

returnOpenType

private OpenType returnOpenType
The open type of the return value


cachedHashCode

private transient int cachedHashCode

cachedToString

private transient java.lang.String cachedToString
Constructor Detail

OpenMBeanOperationInfoSupport

public OpenMBeanOperationInfoSupport(java.lang.String name,
                                     java.lang.String description,
                                     OpenMBeanParameterInfo[] signature,
                                     OpenType returnOpenType,
                                     int impact)
Contruct an OpenMBeanOperationInfoSupport

Method Detail

convertArray

private static javax.management.MBeanParameterInfo[] convertArray(OpenMBeanParameterInfo[] array)

getReturnOpenType

public OpenType getReturnOpenType()
Description copied from interface: OpenMBeanOperationInfo
Retrieves the open type return type of operation.

Specified by:
getReturnOpenType in interface OpenMBeanOperationInfo

equals

public boolean equals(java.lang.Object obj)
Description copied from interface: OpenMBeanOperationInfo
Compares an object for equality with the implementing class.

The object is not null
The object implements the open mbean operation info interface
The operation names are equal
The signatures are equal
The return types are equal
The impacts are equal

Specified by:
equals in interface OpenMBeanOperationInfo

hashCode

public int hashCode()
Description copied from interface: OpenMBeanOperationInfo
Generates a hashcode for the implementation.

The sum of the hashCodes for the elements mentioned in the equals method

Specified by:
hashCode in interface OpenMBeanOperationInfo

toString

public java.lang.String toString()
Description copied from interface: OpenMBeanOperationInfo
A string representation of the open mbean operation info.

It is made up of implementation class and the values mentioned in the equals method

Specified by:
toString in interface OpenMBeanOperationInfo