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

Version:
$Revision: 1.6 $
Author:
Simone Bordet
See Also:
Serialized Form

Constructor Summary
ModelMBeanInfoSupport(java.lang.String className, java.lang.String description, ModelMBeanAttributeInfo[] attributes, ModelMBeanConstructorInfo[] constructors, ModelMBeanOperationInfo[] operations, ModelMBeanNotificationInfo[] notifications)
           
ModelMBeanInfoSupport(java.lang.String className, java.lang.String description, ModelMBeanAttributeInfo[] attributes, ModelMBeanConstructorInfo[] constructors, ModelMBeanOperationInfo[] operations, ModelMBeanNotificationInfo[] notifications, Descriptor mbeanDescriptor)
           
 
Method Summary
 java.lang.Object clone()
           
 ModelMBeanAttributeInfo getAttribute(java.lang.String name)
           
 MBeanAttributeInfo[] getAttributes()
           
 ModelMBeanConstructorInfo getConstructor(java.lang.String name)
           
 MBeanConstructorInfo[] getConstructors()
           
 Descriptor getDescriptor(java.lang.String name, java.lang.String type)
           
 Descriptor[] getDescriptors(java.lang.String type)
           
 Descriptor getMBeanDescriptor()
           
 ModelMBeanNotificationInfo getNotification(java.lang.String name)
           
 MBeanNotificationInfo[] getNotifications()
           
 ModelMBeanOperationInfo getOperation(java.lang.String name)
           
 MBeanOperationInfo[] getOperations()
           
 void setDescriptor(Descriptor descriptor, java.lang.String descriptorType)
           
 void setDescriptors(Descriptor[] descriptors)
           
 void setMBeanDescriptor(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,
                             ModelMBeanAttributeInfo[] attributes,
                             ModelMBeanConstructorInfo[] constructors,
                             ModelMBeanOperationInfo[] operations,
                             ModelMBeanNotificationInfo[] notifications)

ModelMBeanInfoSupport

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

getDescriptors

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

setDescriptors

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

getDescriptor

public 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(Descriptor descriptor,
                          java.lang.String descriptorType)
                   throws MBeanException,
                          RuntimeOperationsException
Specified by:
setDescriptor in interface ModelMBeanInfo
MBeanException
RuntimeOperationsException

getAttribute

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

getOperation

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

getConstructor

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

getNotification

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

getMBeanDescriptor

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

setMBeanDescriptor

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

getConstructors

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

getAttributes

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

getOperations

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

getNotifications

public 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


Copyright © 2001-2002 MX4J Team. All Rights Reserved.