| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 NotificationListener 的软件包 | |
|---|---|
| javax.management | 提供 Java Management Extensions 的核心类。 | 
| javax.management.modelmbean | 提供了 ModelMBean 类的定义。 | 
| javax.management.relation | 提供 Relation Service 的定义。 | 
| javax.management.remote | 对 JMX MBean 服务器进行远程访问使用的接口。 | 
| javax.management.remote.rmi | RMI 连接器是供 JMX Remote API 使用的一种连接器,后者使用 RMI 将客户端请求传输到远程 MBean 服务器。 | 
| javax.management 中 NotificationListener 的使用 | 
|---|
| javax.management.modelmbean 中 NotificationListener 的使用 | 
|---|
| 参数类型为 NotificationListener 的 javax.management.modelmbean 中的方法 | |
|---|---|
 void | 
ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener,
                                       String attributeName,
                                       Object handback)
注册一个将 NotificationListener 接口实现为侦听器的对象。  | 
 void | 
RequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener,
                                       String inAttributeName,
                                       Object inhandback)
 | 
 void | 
RequiredModelMBean.addNotificationListener(NotificationListener listener,
                        NotificationFilter filter,
                        Object handback)
注册一个将 NotificationListener 接口实现为侦听器的对象。  | 
 void | 
ModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener,
                                          String attributeName)
从 RequiredModelMBean 移除一个 attributeChangeNotifications 的侦听器。  | 
 void | 
RequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener,
                                          String inAttributeName)
 | 
 void | 
RequiredModelMBean.removeNotificationListener(NotificationListener listener)
从 RequiredModelMBean 移除一个 Notification 的侦听器。  | 
 void | 
RequiredModelMBean.removeNotificationListener(NotificationListener listener,
                           NotificationFilter filter,
                           Object handback)
 | 
| javax.management.relation 中 NotificationListener 的使用 | 
|---|
| 实现 NotificationListener 的 javax.management.relation 中的类 | |
|---|---|
 class | 
RelationService
Relation Service 负责创建和删除关系类型和关系,负责处理一致性并负责提供查询机制。  | 
| javax.management.remote 中 NotificationListener 的使用 | 
|---|
| 参数类型为 NotificationListener 的 javax.management.remote 中的方法 | |
|---|---|
 void | 
JMXConnector.addConnectionNotificationListener(NotificationListener listener,
                                  NotificationFilter filter,
                                  Object handback)
添加一个接收连接状态改变的侦听器。  | 
 void | 
JMXConnector.removeConnectionNotificationListener(NotificationListener listener)
将一个用于接收状态更改通知的侦听器从列表中移除。  | 
 void | 
JMXConnector.removeConnectionNotificationListener(NotificationListener l,
                                     NotificationFilter f,
                                     Object handback)
将一个用于接收状态更改通知的侦听器从列表中移除。  | 
| javax.management.remote.rmi 中 NotificationListener 的使用 | 
|---|
| 参数类型为 NotificationListener 的 javax.management.remote.rmi 中的方法 | |
|---|---|
 void | 
RMIConnector.addConnectionNotificationListener(NotificationListener listener,
                                  NotificationFilter filter,
                                  Object handback)
 | 
 void | 
RMIConnector.removeConnectionNotificationListener(NotificationListener listener)
 | 
 void | 
RMIConnector.removeConnectionNotificationListener(NotificationListener listener,
                                     NotificationFilter filter,
                                     Object handback)
 | 
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。