javax.management.modelmbean
Interface ModelMBeanInfo

All Known Implementing Classes:
ModelMBeanInfoSupport

public interface ModelMBeanInfo

Interface for manipulating the meta data of a Model MBean.

Version:
$Revision: 57200 $
Author:
Juha Lindfors.

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

Method Detail

getDescriptors

Descriptor[] getDescriptors(String descriptorType)
                            throws MBeanException,
                                   RuntimeOperationsException
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 - for no good reason
RuntimeOperationsException - for no good reason

setDescriptors

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

getDescriptor

Descriptor getDescriptor(String inDescriptorName,
                         String inDescriptorType)
                         throws MBeanException,
                                RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

setDescriptor

void setDescriptor(Descriptor inDescriptor,
                   String inDescriptorType)
                   throws MBeanException,
                          RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

getMBeanDescriptor

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

setMBeanDescriptor

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

getAttribute

ModelMBeanAttributeInfo getAttribute(String inName)
                                     throws MBeanException,
                                            RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

getOperation

ModelMBeanOperationInfo getOperation(String inName)
                                     throws MBeanException,
                                            RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

getNotification

ModelMBeanNotificationInfo getNotification(String inName)
                                           throws MBeanException,
                                                  RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

clone

Object clone()

getAttributes

MBeanAttributeInfo[] getAttributes()

getClassName

String getClassName()

getConstructors

MBeanConstructorInfo[] getConstructors()

getDescription

String getDescription()

getNotifications

MBeanNotificationInfo[] getNotifications()

getOperations

MBeanOperationInfo[] getOperations()


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