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

Quick Search    Search Deep

javax.management.openmbean
Interface OpenMBeanOperationInfo  view OpenMBeanOperationInfo download OpenMBeanOperationInfo.java

All Known Implementing Classes:
OpenMBeanOperationInfoSupport

public interface OpenMBeanOperationInfo

An open MBean operation info implements this interface as well as extending MBeanOperationInfo.

OpenMBeanOperationInfoSupport is an example of such a class.

Version:
$Revision: 1.1.2.1 $

Method Summary
 boolean equals(java.lang.Object obj)
          Compares an object for equality with the implementing class.
 java.lang.String getDescription()
          Retrieve a human readable description of the open MBean operation the implementation of this interface describes.
 int getImpact()
          Retrieves the impact of the operation. One of
MBeanOperationInfo.INFO>MBeanOperationInfo.INFO 55
MBeanOperationInfo.ACTION>MBeanOperationInfo.ACTION 55
MBeanOperationInfo.ACTION_INFO>MBeanOperationInfo.ACTION_INFO 55
 java.lang.String getName()
          Retrieve the name of the operation described.
 OpenType getReturnOpenType()
          Retrieves the open type return type of operation.
 java.lang.String getReturnType()
          Retrieves the return type of operation. This must be same as getReturnOpenType().getClassName()
 javax.management.MBeanParameterInfo[] getSignature()
          Returns an array of the parameters passed to the operation
 int hashCode()
          Generates a hashcode for the implementation.
 java.lang.String toString()
          A string representation of the open mbean operation info.
 

Method Detail

getDescription

public java.lang.String getDescription()
Retrieve a human readable description of the open MBean operation the implementation of this interface describes.


getName

public java.lang.String getName()
Retrieve the name of the operation described.


getSignature

public javax.management.MBeanParameterInfo[] getSignature()
Returns an array of the parameters passed to the operation

The parameters must be OpenMBeanParameterInfos.


getImpact

public int getImpact()
Retrieves the impact of the operation. One of
MBeanOperationInfo.INFO>MBeanOperationInfo.INFO 55
MBeanOperationInfo.ACTION>MBeanOperationInfo.ACTION 55
MBeanOperationInfo.ACTION_INFO>MBeanOperationInfo.ACTION_INFO 55


getReturnType

public java.lang.String getReturnType()
Retrieves the return type of operation. This must be same as getReturnOpenType().getClassName()


getReturnOpenType

public OpenType getReturnOpenType()
Retrieves the open type return type of operation.


equals

public boolean equals(java.lang.Object obj)
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


hashCode

public int hashCode()
Generates a hashcode for the implementation.

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


toString

public java.lang.String toString()
A string representation of the open mbean operation info.

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