Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Ed. 5.0

Package javax.management.openmbean

Provides the open data types and Open MBean descriptor classes.

See:
          Description

Interface Summary
CompositeData The CompositeData interface specifies the behavior of a specific type of complex open data objects which represent composite data structures.
OpenMBeanAttributeInfo Describes an attribute of an open MBean.
OpenMBeanConstructorInfo Describes a constructor of an Open MBean.
OpenMBeanInfo Describes an Open MBean: an Open MBean is recognized as such if its getMBeanInfo() method returns an instance of a class which implements the OpenMBeanInfo interface, typically OpenMBeanInfoSupport.
OpenMBeanOperationInfo Describes an operation of an Open MBean.
OpenMBeanParameterInfo Describes a parameter used in one or more operations or constructors of an open MBean.
TabularData The TabularData interface specifies the behavior of a specific type of complex open data objects which represent tabular data structures.
 

Class Summary
ArrayType The ArrayType class is the open type class whose instances describe all open data values which are n-dimensional arrays of open data values.
CompositeDataSupport The CompositeDataSupport class is the open data class which implements the CompositeData interface.
CompositeType The CompositeType class is the open type class whose instances describe the types of CompositeData values.
OpenMBeanAttributeInfoSupport Describes an attribute of an open MBean.
OpenMBeanConstructorInfoSupport Describes a constructor of an Open MBean.
OpenMBeanInfoSupport The OpenMBeanInfoSupport class describes the management information of an open MBean: it is a subclass of MBeanInfo, and it implements the OpenMBeanInfo interface.
OpenMBeanOperationInfoSupport Describes an operation of an Open MBean.
OpenMBeanParameterInfoSupport Describes a parameter used in one or more operations or constructors of an open MBean.
OpenType The OpenType class is the parent abstract class of all classes which describe the actual open type of open data values.
SimpleType The SimpleType class is the open type class whose instances describe all open data values which are neither arrays, nor CompositeData values, nor TabularData values.
TabularDataSupport The TabularDataSupport class is the open data class which implements the TabularData and the Map interfaces, and which is internally based on a hash map data structure.
TabularType The TabularType class is the open type class whose instances describe the types of TabularData values.
 

Exception Summary
InvalidKeyException This runtime exception is thrown to indicate that a method parameter which was expected to be an item name of a composite data or a row index of a tabular data is not valid.
InvalidOpenTypeException This runtime exception is thrown to indicate that the open type of an open data value is not the one expected.
KeyAlreadyExistsException This runtime exception is thrown to indicate that the index of a row to be added to a tabular data instance is already used to refer to another row in this tabular data instance.
OpenDataException This checked exception is thrown when an open type, an open data or an open MBean metadata info instance could not be constructed because one or more validity constraints were not met.
 

Package javax.management.openmbean Description

Provides the open data types and Open MBean descriptor classes. An Open MBean is an MBean where the types of attributes and of operation parameters and return values are built using a small set of predefined Java classes. Open MBeans facilitate operation with remote management programs that do not necessarily have access to application-specific types, including non-Java programs.

Every MBean has an MBeanInfo with information about the MBean itself, and its attributes, operations, constructors, and notifications. In an Open MBean, this MBeanInfo implements the OpenMBeanInfo interface, usually by being an instance of OpenMBeanInfoSupport.

The attribute information returned by MBeanInfo.getAttributes for an Open MBean is an array of objects implementing OpenMBeanAttributeInfo, usually instances of OpenMBeanAttributeInfoSupport. In addition to the usual information about attributes, an OpenMBeanAttributeInfo specifies the OpenType of the attribute. The possible OpenType values are predefined, which is what ensures that remote managers will understand them.

Similar remarks apply to the parameter types of operations and constructors, and to the return types of operations.

There is a distinction between an attribute's Java language type, as returned by getType(), and its OpenType, as returned by getOpenType(). For example, if the Java language type is java.lang.String, the OpenType will be SimpleType.String. If the Java language type is CompositeData, the OpenType will be a CompositeType that describes the items in the CompositeData instances for the attribute.

Package Specification

Since:
1.5

JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

free hit counter