FileDocCategorySizeDatePackage
ListenerInfo.javaAPI DocGlassfish v2 API2652Fri May 04 22:30:30 BST 2007com.sun.appserv.management.base

ListenerInfo

public interface ListenerInfo
Provide information about who's listening.

Fields Summary
Constructors Summary
Methods Summary
public intgetListenerCount()
Get the total number of listeners listening for anything.

return
count of listeners

public intgetNotificationTypeListenerCount(java.lang.String notificationType)
Get the number of listeners which are listening for the specified type of Notification. If there are anonymous listeners (those that have no filter or a non-standard filter) then this routine will return the value 1.

param
notificationType any Notification type, should usually be one advertised via MBeanInfo
return
count of listeners