test.compliance.server.support
Class BroadcasterInvocationHandlerTest

java.lang.Object
  extended bytest.compliance.server.support.InvocationHandlerTest (src) 
      extended bytest.compliance.server.support.BroadcasterInvocationHandlerTest
All Implemented Interfaces:
InvocationHandlerTestMBean (src) , NotificationBroadcaster (src)

public class BroadcasterInvocationHandlerTest
extends InvocationHandlerTest (src)
implements NotificationBroadcaster (src)


Field Summary
 
Fields inherited from class test.compliance.server.support.InvocationHandlerTest (src)
invokeNoArgsNoReturnInvoked, invokeNoReturnInvoked, primitive, type
 
Constructor Summary
BroadcasterInvocationHandlerTest()
           
 
Method Summary
 void addNotificationListener(NotificationListener (src)  listener, NotificationFilter (src)  filter, java.lang.Object handback)
          Add a listener to an MBean.
 MBeanNotificationInfo (src) [] getNotificationInfo()
          Returns the notification metadata associated with the MBean.
 void removeNotificationListener(NotificationListener (src)  listener)
          Removes a listener from an MBean.
 void sendNotification()
           
 
Methods inherited from class test.compliance.server.support.InvocationHandlerTest (src)
getAttribute, invoke, invokeMixedParameters, invokeNoArgs, invokeNoArgsNoReturn, invokeNoReturn, isIsPrimitive, isIsType, setAttribute, setIsPrimitive, setIsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcasterInvocationHandlerTest

public BroadcasterInvocationHandlerTest()
Method Detail

addNotificationListener

public void addNotificationListener(NotificationListener (src)  listener,
                                    NotificationFilter (src)  filter,
                                    java.lang.Object handback)
Description copied from interface: NotificationBroadcaster (src)
Add a listener to an MBean.

Specified by:
addNotificationListener in interface NotificationBroadcaster (src)
Parameters:
listener - implementation of the listener object
filter - implementation of the filter object or null if no filtering is required
handback - A handback object associated with each notification sent by this notification broadcaster.

getNotificationInfo

public MBeanNotificationInfo (src) [] getNotificationInfo()
Description copied from interface: NotificationBroadcaster (src)
Returns the notification metadata associated with the MBean.

Specified by:
getNotificationInfo in interface NotificationBroadcaster (src)
Returns:
MBean's notification metadata
See Also:
MBeanNotificationInfo (src)

removeNotificationListener

public void removeNotificationListener(NotificationListener (src)  listener)
                                throws ListenerNotFoundException (src) 
Description copied from interface: NotificationBroadcaster (src)
Removes a listener from an MBean.

Specified by:
removeNotificationListener in interface NotificationBroadcaster (src)
Parameters:
listener - the listener object to remove
Throws:
ListenerNotFoundException (src) - if the listener was not found

sendNotification

public void sendNotification()