javax.management.modelmbean
Class ModelMBeanInfoSupport

java.lang.Object
  |
  +--javax.management.MBeanInfo
        |
        +--javax.management.modelmbean.ModelMBeanInfoSupport
All Implemented Interfaces:
java.lang.Cloneable, ModelMBeanInfo, java.io.Serializable

public class ModelMBeanInfoSupport
extends MBeanInfo
implements ModelMBeanInfo

See Also:
Serialized Form

Constructor Summary
ModelMBeanInfoSupport(java.lang.String className, java.lang.String description, javax.management.modelmbean.ModelMBeanAttributeInfo[] attributes, javax.management.modelmbean.ModelMBeanConstructorInfo[] constructors, javax.management.modelmbean.ModelMBeanOperationInfo[] operations, javax.management.modelmbean.ModelMBeanNotificationInfo[] notifications)
           
ModelMBeanInfoSupport(java.lang.String className, java.lang.String description, javax.management.modelmbean.ModelMBeanAttributeInfo[] attributes, javax.management.modelmbean.ModelMBeanConstructorInfo[] constructors, javax.management.modelmbean.ModelMBeanOperationInfo[] operations, javax.management.modelmbean.ModelMBeanNotificationInfo[] notifications, javax.management.Descriptor mbeanDescriptor)
           
 
Method Summary
 java.lang.Object clone()
           
 javax.management.modelmbean.ModelMBeanAttributeInfo getAttribute(java.lang.String name)
           
 javax.management.MBeanAttributeInfo[] getAttributes()
           
 javax.management.modelmbean.ModelMBeanConstructorInfo getConstructor(java.lang.String name)
           
 javax.management.MBeanConstructorInfo[] getConstructors()
           
 javax.management.Descriptor getDescriptor(java.lang.String name, java.lang.String type)
           
 javax.management.Descriptor[] getDescriptors(java.lang.String type)
           
 javax.management.Descriptor getMBeanDescriptor()
           
 javax.management.modelmbean.ModelMBeanNotificationInfo getNotification(java.lang.String name)
           
 javax.management.MBeanNotificationInfo[] getNotifications()
           
 javax.management.modelmbean.ModelMBeanOperationInfo getOperation(java.lang.String name)
           
 javax.management.MBeanOperationInfo[] getOperations()
           
 void setDescriptor(javax.management.Descriptor descriptor, java.lang.String descriptorType)
           
 void setDescriptors(javax.management.Descriptor[] descriptors)
           
 void setMBeanDescriptor(javax.management.Descriptor descriptor)
           
 
Methods inherited from class javax.management.MBeanInfo
equals, getClassName, getDescription, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.management.modelmbean.ModelMBeanInfo
getClassName, getDescription
 

Constructor Detail

ModelMBeanInfoSupport

public ModelMBeanInfoSupport(java.lang.String className,
                             java.lang.String description,
                             javax.management.modelmbean.ModelMBeanAttributeInfo[] attributes,
                             javax.management.modelmbean.ModelMBeanConstructorInfo[] constructors,
                             javax.management.modelmbean.ModelMBeanOperationInfo[] operations,
                             javax.management.modelmbean.ModelMBeanNotificationInfo[] notifications)

ModelMBeanInfoSupport

public ModelMBeanInfoSupport(java.lang.String className,
                             java.lang.String description,
                             javax.management.modelmbean.ModelMBeanAttributeInfo[] attributes,
                             javax.management.modelmbean.ModelMBeanConstructorInfo[] constructors,
                             javax.management.modelmbean.ModelMBeanOperationInfo[] operations,
                             javax.management.modelmbean.ModelMBeanNotificationInfo[] notifications,
                             javax.management.Descriptor mbeanDescriptor)
Method Detail

getDescriptors

public javax.management.Descriptor[] getDescriptors(java.lang.String type)
                                             throws MBeanException,
                                                    RuntimeOperationsException
Specified by:
getDescriptors in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

setDescriptors

public void setDescriptors(javax.management.Descriptor[] descriptors)
                    throws MBeanException,
                           RuntimeOperationsException
Specified by:
setDescriptors in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getDescriptor

public javax.management.Descriptor getDescriptor(java.lang.String name,
                                                 java.lang.String type)
                                          throws MBeanException,
                                                 RuntimeOperationsException
Specified by:
getDescriptor in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

setDescriptor

public void setDescriptor(javax.management.Descriptor descriptor,
                          java.lang.String descriptorType)
                   throws MBeanException,
                          RuntimeOperationsException
Specified by:
setDescriptor in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getAttribute

public javax.management.modelmbean.ModelMBeanAttributeInfo getAttribute(java.lang.String name)
                                                                 throws MBeanException,
                                                                        RuntimeOperationsException
Specified by:
getAttribute in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getOperation

public javax.management.modelmbean.ModelMBeanOperationInfo getOperation(java.lang.String name)
                                                                 throws MBeanException,
                                                                        RuntimeOperationsException
Specified by:
getOperation in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getConstructor

public javax.management.modelmbean.ModelMBeanConstructorInfo getConstructor(java.lang.String name)
                                                                     throws MBeanException,
                                                                            RuntimeOperationsException
Specified by:
getConstructor in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getNotification

public javax.management.modelmbean.ModelMBeanNotificationInfo getNotification(java.lang.String name)
                                                                       throws MBeanException,
                                                                              RuntimeOperationsException
Specified by:
getNotification in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getMBeanDescriptor

public javax.management.Descriptor getMBeanDescriptor()
                                               throws MBeanException,
                                                      RuntimeOperationsException
Specified by:
getMBeanDescriptor in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

setMBeanDescriptor

public void setMBeanDescriptor(javax.management.Descriptor descriptor)
                        throws MBeanException,
                               RuntimeOperationsException
Specified by:
setMBeanDescriptor in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getConstructors

public javax.management.MBeanConstructorInfo[] getConstructors()
Specified by:
getConstructors in interface ModelMBeanInfo
Overrides:
getConstructors in class MBeanInfo

getAttributes

public javax.management.MBeanAttributeInfo[] getAttributes()
Specified by:
getAttributes in interface ModelMBeanInfo
Overrides:
getAttributes in class MBeanInfo

getOperations

public javax.management.MBeanOperationInfo[] getOperations()
Specified by:
getOperations in interface ModelMBeanInfo
Overrides:
getOperations in class MBeanInfo

getNotifications

public javax.management.MBeanNotificationInfo[] getNotifications()
Specified by:
getNotifications in interface ModelMBeanInfo
Overrides:
getNotifications in class MBeanInfo

clone

public java.lang.Object clone()
Specified by:
clone in interface ModelMBeanInfo
Overrides:
clone in class MBeanInfo