JavaTM 2 Platform
Standard Ed. 6

类 javax.management.MBeanOperationInfo
的使用

使用 MBeanOperationInfo 的软件包
javax.management 提供 Java Management Extensions 的核心类。 
javax.management.modelmbean 提供了 ModelMBean 类的定义。 
javax.management.openmbean 提供开放数据类型和 Open MBean 描述符类。 
 

javax.managementMBeanOperationInfo 的使用
 

返回 MBeanOperationInfojavax.management 中的方法
 MBeanOperationInfo[] MBeanInfo.getOperations()
          返回 MBean 的操作列表。
 

参数类型为 MBeanOperationInfojavax.management 中的方法
protected  String StandardMBean.getDescription(MBeanOperationInfo info)
          自定义钩子:获取将在由此 MBean 返回的 MBeanOperationInfo 中使用的描述。
protected  String StandardMBean.getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
          自定义钩子:获取将用于由此 MBean 返回的 MBeanOperationInfo 的第 sequence 个 MBeanParameterInfo 的描述。
protected  int StandardMBean.getImpact(MBeanOperationInfo info)
          自定义钩子:获取将在由此 MBean 返回的 MBeanOperationInfo 中使用的操作的 impact 标志。
protected  String StandardMBean.getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
          自定义钩子:获取将用于由此 MBean 返回的 MBeanOperationInfo 的第 sequence 个 MBeanParameterInfo 的名称。
 

参数类型为 MBeanOperationInfojavax.management 中的构造方法
MBeanInfo(String className, String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications)
          构造一个 MBeanInfo
MBeanInfo(String className, String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications, Descriptor descriptor)
          构造一个 MBeanInfo
 

javax.management.modelmbeanMBeanOperationInfo 的使用
 

javax.management.modelmbeanMBeanOperationInfo 的子类
 class ModelMBeanOperationInfo
          ModelMBeanOperationInfo 对象描述了 ModelMBean 的管理操作。
 

返回 MBeanOperationInfojavax.management.modelmbean 中的方法
 MBeanOperationInfo[] ModelMBeanInfo.getOperations()
          返回 MBean 的操作列表。
 

javax.management.openmbeanMBeanOperationInfo 的使用
 

javax.management.openmbeanMBeanOperationInfo 的子类
 class OpenMBeanOperationInfoSupport
          描述 Open MBean 的一个操作。
 

返回 MBeanOperationInfojavax.management.openmbean 中的方法
 MBeanOperationInfo[] OpenMBeanInfo.getOperations()
          返回 OpenMBeanOperationInfo 实例的数组,这些实例描述此 OpenMBeanInfo 实例所描述的 open MBean 中的每个操作。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only