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
- public class MBeanConstructorInfo
- extends MBeanFeatureInfo
- implements java.io.Serializable, java.lang.Cloneable
Describes a constructor exposed by an MBean.
- 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 operations arguments. |
java.lang.String |
toString()
Returns a human readable version of the MBeanConstructorInfo instance |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, 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.
getSignature
public MBeanParameterInfo[] getSignature()
- Returns the signature of the method, that is, information on
the operations arguments.
- Returns:
- A MBeanParameterInfo array is returned which describes
the parameters of the constructor
clone
public java.lang.Object clone()
- Creates and returns a copy of this object.
- Overrides:
clone
in class java.lang.Object
- Returns:
- A duplicate copy of this object is created
toString
public java.lang.String toString()
- Returns a human readable version of the MBeanConstructorInfo instance
- Overrides:
toString
in class MBeanFeatureInfo
- Returns:
- String format of MBeanConstructorInfo is returned
Copyright ©2003 XMOJO.org. All Rights Reserved.