站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

OpenMBeanConstructorInfo (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


javax.management.openmbean
Interface OpenMBeanConstructorInfo

All Known Implementing Classes:
OpenMBeanConstructorInfoSupport

public interface OpenMBeanConstructorInfo

An open MBean constructor info implements this interface as well as extending MBeanConstructorInfo.

OpenMBeanConstructorInfoSupport is an example of such a class.

Version:
$Revision: 1.3 $
Author:
Adrian Brock.

Method Summary
 boolean equals(Object obj)
          Compares an object for equality with the implementing class.
 String getDescription()
          Retrieve a human readable description of the open MBean constructor the implementation of this interface describes.
 String getName()
          Retrieve the name of the constructor described.
 MBeanParameterInfo[] getSignature()
          Returns an array of the parameters passed to the constructor
 int hashCode()
          Generates a hashcode for the implementation.
 String toString()
          A string representation of the open mbean constructor info.
 

Method Detail

getDescription

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

Returns:
the description.

getName

public String getName()
Retrieve the name of the constructor described.

Returns:
the name.

getSignature

public MBeanParameterInfo[] getSignature()
Returns an array of the parameters passed to the constructor

The parameters must be OpenMBeanParameterInfos.

Returns:
the constructor's parameters.

equals

public boolean equals(Object obj)
Compares an object for equality with the implementing class.

The object is not null
The object implements the open mbean constructor info interface
The constructor names are equal
The signatures are equal

Parameters:
obj - the object to test
Returns:
true when above is true, false otherwise

hashCode

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

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

Returns:
the calculated hashcode

toString

public String toString()
A string representation of the open mbean constructor info.

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

Returns:
the string


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.