软件包 | 描述 |
---|---|
javax.management |
在java管理扩展提供了核心课程。
|
javax.management.modelmbean |
提供的ModelMBean类的定义。
|
Modifier and Type | Method and Description |
---|---|
Object |
Descriptor.clone()
返回一个与此描述符相等的描述符。
|
Object |
Descriptor.getFieldValue(String fieldName)
返回一个特定字段名的值,如果没有该名称的值,则为。
|
boolean |
Descriptor.isValid()
如果所有字段都具有给定名称的合法值,则返回真值。
|
void |
PersistentMBean.load()
实例化thismbean实例与数据发现在持久存储的MBean。
|
void |
Descriptor.setField(String fieldName, Object fieldValue)
为特定字段名称设置值。
|
void |
ImmutableDescriptor.setField(String fieldName, Object fieldValue)
此操作不支持,因为这个类是不可变的。
|
void |
Descriptor.setFields(String[] fieldNames, Object[] fieldValues)
将字段名称数组中的所有字段设置为字段值数组中的相同索引的新值。
|
void |
ImmutableDescriptor.setFields(String[] fieldNames, Object[] fieldValues)
此操作不支持,因为这个类是不可变的。
|
void |
PersistentMBean.store()
抓住了这个MBean实例的当前状态,并将它写入到持久性存储。
|
Modifier and Type | Method and Description |
---|---|
void |
RequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback) |
void |
ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback)
寄存器实现了notificationlistener接口作为一个侦听器的对象。
|
Object |
DescriptorSupport.clone()
返回一个新的描述符,该描述符是描述符的副本。
|
ModelMBeanAttributeInfo |
ModelMBeanInfoSupport.getAttribute(String inName) |
ModelMBeanAttributeInfo |
ModelMBeanInfo.getAttribute(String inName)
返回请求的名称modelmbeanattributeinfo。
|
ModelMBeanConstructorInfo |
ModelMBeanInfoSupport.getConstructor(String inName)
返回请求的名字的modelmbeanconstructorinfo。
|
Descriptor |
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName)
返回由名称所请求的描述符。
|
Descriptor |
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName, String inDescriptorType) |
Descriptor |
ModelMBeanInfo.getDescriptor(String inDescriptorName, String inDescriptorType)
返回的名称和descriptortype请求描述符。
|
Descriptor[] |
ModelMBeanInfoSupport.getDescriptors(String inDescriptorType) |
Descriptor[] |
ModelMBeanInfo.getDescriptors(String inDescriptorType)
返回一个描述符阵列组成的所有描述符的类型indescriptortype ModelMBeanInfo。
|
Object |
DescriptorSupport.getFieldValue(String fieldName) |
Descriptor |
ModelMBeanInfo.getMBeanDescriptor()
返回的描述符包含MBean ModelMBean宽政策。
|
ModelMBeanNotificationInfo |
ModelMBeanInfoSupport.getNotification(String inName) |
ModelMBeanNotificationInfo |
ModelMBeanInfo.getNotification(String inName)
返回请求的名称modelmbeannotificationinfo。
|
ModelMBeanOperationInfo |
ModelMBeanInfoSupport.getOperation(String inName) |
ModelMBeanOperationInfo |
ModelMBeanInfo.getOperation(String inName)
返回请求的名称modelmbeanoperationinfo。
|
boolean |
DescriptorSupport.isValid()
如果所有字段都具有给定名称的合法值,则返回真值。
|
void |
RequiredModelMBean.load()
实例化这个MBean实例与数据发现在持久存储的MBean。
|
void |
RequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName) |
void |
ModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName)
删除一个attributechangenotifications从听众。
|
void |
RequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal) |
void |
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)
发送一个attributechangenotification包含旧的价值,在对注册attributechangenotification ModelMBean听众属性的新值。
|
void |
RequiredModelMBean.sendAttributeChangeNotification(AttributeChangeNotification ntfyObj) |
void |
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(AttributeChangeNotification notification)
发送一个attributechangenotification被传递到听众对注册attributechangenotification ModelMBean。
|
void |
RequiredModelMBean.sendNotification(Notification ntfyObj) |
void |
ModelMBeanNotificationBroadcaster.sendNotification(Notification ntfyObj)
发送通知,传递给注册通知听众在ModelMBean作为jmx.modelmbean.generic通知。
|
void |
RequiredModelMBean.sendNotification(String ntfyText) |
void |
ModelMBeanNotificationBroadcaster.sendNotification(String ntfyText)
发送通知包含文本字符串,通过对注册通知听众在ModelMBean。
|
void |
ModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor, String inDescriptorType) |
void |
ModelMBeanInfo.setDescriptor(Descriptor inDescriptor, String inDescriptorType)
集描述为ModelMBean型indescriptortype信息阵。
|
void |
ModelMBeanInfoSupport.setDescriptors(Descriptor[] inDescriptors) |
void |
ModelMBeanInfo.setDescriptors(Descriptor[] inDescriptors)
添加或更换在ModelMBeanInfo描述符。
|
void |
DescriptorSupport.setField(String fieldName, Object fieldValue) |
void |
DescriptorSupport.setFields(String[] fieldNames, Object[] fieldValues) |
void |
ModelMBean.setManagedResource(Object mr, String mr_type)
设置这个ModelMBean管理界面执行所有的方法对该对象的实例句柄(MBeanInfo描述)。
|
void |
RequiredModelMBean.setManagedResource(Object mr, String mr_type)
设置这个ModelMBean管理界面执行所有的方法对该对象的实例句柄(MBeanInfo描述)。
|
void |
ModelMBeanInfoSupport.setMBeanDescriptor(Descriptor inMBeanDescriptor) |
void |
ModelMBeanInfo.setMBeanDescriptor(Descriptor inDescriptor)
集ModelMBean的描述符。
|
void |
ModelMBean.setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)
初始化使用ModelMBeanInfo ModelMBean对象了。
|
void |
RequiredModelMBean.setModelMBeanInfo(ModelMBeanInfo mbi)
初始化使用ModelMBeanInfo ModelMBean对象了。
|
void |
RequiredModelMBean.store()
抓住了这个MBean实例的当前状态,并将它写入到持久性存储。
|
Constructor and Description |
---|
DescriptorSupport(int initNumFields)
广义的构造函数。
|
DescriptorSupport(String inStr)
一个以XML字符串的描述符构造函数。
|
DescriptorSupport(String[] fieldNames, Object[] fieldValues)
取字段名和字段值。
|
RequiredModelMBean()
构建一个空的
RequiredModelMBean ModelMBeanInfo。
|
RequiredModelMBean(ModelMBeanInfo mbi)
构建一个使用了个ModelMBeanInfo对象。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.