站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 management API Documentation 英文版文档

PollingNotificationListener (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档


org.jboss.management.mejb
Class PollingNotificationListener

java.lang.Object
  extended byorg.jboss.management.mejb.PollingNotificationListener
All Implemented Interfaces:
EventListener, ListenerMBean, javax.management.NotificationListener, PollingNotificationListenerMBean

public class PollingNotificationListener
extends Object
implements PollingNotificationListenerMBean

Remote Listener using Polling to send the event

Version:
$Revision: 1.6 $
Author:
???

Constructor Summary
PollingNotificationListener(int pListSize, int pMaximumListSize)
           
 
Method Summary
 List getNotifications()
           
 List getNotifications(int pMaxiumSize)
           
 void handleNotification(javax.management.Notification pNotification, Object pHandback)
          Handles the given notification by sending this to the remote client listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollingNotificationListener

public PollingNotificationListener(int pListSize,
                                   int pMaximumListSize)
Method Detail

handleNotification

public void handleNotification(javax.management.Notification pNotification,
                               Object pHandback)
Handles the given notification by sending this to the remote client listener

Specified by:
handleNotification in interface ListenerMBean
Parameters:
pNotification - Notification to be send
pHandback - Handback object

getNotifications

public List getNotifications()
Specified by:
getNotifications in interface PollingNotificationListenerMBean

getNotifications

public List getNotifications(int pMaxiumSize)
Specified by:
getNotifications in interface PollingNotificationListenerMBean


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.