javax.management
Class MBeanConstructorInfo
java.lang.Object
|
+--javax.management.MBeanFeatureInfo
|
+--javax.management.MBeanConstructorInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- ModelMBeanConstructorInfo, OpenMBeanConstructorInfoSupport
- public class MBeanConstructorInfo
- extends MBeanFeatureInfo
- implements java.io.Serializable, java.lang.Cloneable
Describes a constructor exposed by an MBean.
- Author:
- Young Yang
- See Also:
- Serialized Form
|
Constructor Summary |
MBeanConstructorInfo(java.lang.String description,
java.lang.reflect.Constructor constructor)
Constructs an MBeanConstructorInfo object. |
MBeanConstructorInfo(java.lang.String name,
java.lang.String description,
MBeanParameterInfo[] signature)
Constructs an MBeanConstructorInfo object. |
|
Method Summary |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
MBeanParameterInfo[] |
getSignature()
Returns the signature of the method, that is, information on the operation's arguments. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanConstructorInfo
public MBeanConstructorInfo(java.lang.String description,
java.lang.reflect.Constructor constructor)
- Constructs an
MBeanConstructorInfo object.
- Parameters:
description - A human readable description of the operation.constructor - The java.lang.reflect.Constructor object describing the MBean constructor.
MBeanConstructorInfo
public MBeanConstructorInfo(java.lang.String name,
java.lang.String description,
MBeanParameterInfo[] signature)
- Constructs an
MBeanConstructorInfo object.
- Parameters:
name - The name of the constructor.description - A human readable description of the constructor.signature - MBeanParameterInfo objects describing the parameters(arguments) of the constructor.
clone
public java.lang.Object clone()
- Creates and returns a copy of this object.
- Overrides:
clone in class java.lang.Object
getSignature
public MBeanParameterInfo[] getSignature()
- Returns the signature of the method, that is, information on the operation's arguments.