javax.management.modelmbean
Interface ModelMBeanInfo

All Known Implementing Classes:
ModelMBeanInfoSupport (src)

public interface ModelMBeanInfo

Interface for manipulating the meta data of a Model MBean.


Method Summary
 java.lang.Object clone()
           
 ModelMBeanAttributeInfo (src) getAttribute(java.lang.String inName)
           
 MBeanAttributeInfo (src) [] getAttributes()
           
 java.lang.String getClassName()
           
 MBeanConstructorInfo (src) [] getConstructors()
           
 java.lang.String getDescription()
           
 Descriptor (src) getDescriptor(java.lang.String inDescriptorName, java.lang.String inDescriptorType)
           
 Descriptor (src) [] getDescriptors(java.lang.String descriptorType)
          Returns all descriptors with a requested type from a Model MBean.
 Descriptor (src) getMBeanDescriptor()
           
 ModelMBeanNotificationInfo (src) getNotification(java.lang.String inName)
           
 MBeanNotificationInfo (src) [] getNotifications()
           
 ModelMBeanOperationInfo (src) getOperation(java.lang.String inName)
           
 MBeanOperationInfo (src) [] getOperations()
           
 void setDescriptor(Descriptor (src)  inDescriptor, java.lang.String inDescriptorType)
           
 void setDescriptors(Descriptor (src) [] inDescriptors)
           
 void setMBeanDescriptor(Descriptor (src)  inDescriptor)
           
 

Method Detail

getDescriptors

public Descriptor (src) [] getDescriptors(java.lang.String descriptorType)
                            throws MBeanException (src) ,
                                   RuntimeOperationsException (src) 
Returns all descriptors with a requested type from a Model MBean. The descriptor type may be one of the following:

Parameters:
descriptorType - descriptor type string
Returns:
array of descriptors
Throws:
MBeanException (src) - for no good reason
RuntimeOperationsException (src) - for no good reason

setDescriptors

public void setDescriptors(Descriptor (src) [] inDescriptors)
                    throws MBeanException (src) ,
                           RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

getDescriptor

public Descriptor (src)  getDescriptor(java.lang.String inDescriptorName,
                                java.lang.String inDescriptorType)
                         throws MBeanException (src) ,
                                RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

setDescriptor

public void setDescriptor(Descriptor (src)  inDescriptor,
                          java.lang.String inDescriptorType)
                   throws MBeanException (src) ,
                          RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

getMBeanDescriptor

public Descriptor (src)  getMBeanDescriptor()
                              throws MBeanException (src) ,
                                     RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

setMBeanDescriptor

public void setMBeanDescriptor(Descriptor (src)  inDescriptor)
                        throws MBeanException (src) ,
                               RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

getAttribute

public ModelMBeanAttributeInfo (src)  getAttribute(java.lang.String inName)
                                     throws MBeanException (src) ,
                                            RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

getOperation

public ModelMBeanOperationInfo (src)  getOperation(java.lang.String inName)
                                     throws MBeanException (src) ,
                                            RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

getNotification

public ModelMBeanNotificationInfo (src)  getNotification(java.lang.String inName)
                                           throws MBeanException (src) ,
                                                  RuntimeOperationsException (src) 
Throws:
MBeanException (src)
RuntimeOperationsException (src)

clone

public java.lang.Object clone()

getAttributes

public MBeanAttributeInfo (src) [] getAttributes()

getClassName

public java.lang.String getClassName()

getConstructors

public MBeanConstructorInfo (src) [] getConstructors()

getDescription

public java.lang.String getDescription()

getNotifications

public MBeanNotificationInfo (src) [] getNotifications()

getOperations

public MBeanOperationInfo (src) [] getOperations()