test.compliance.server.support
Class EmitterInvocationHandlerTest
java.lang.Object
test.compliance.server.support.InvocationHandlerTest (src)
test.compliance.server.support.EmitterInvocationHandlerTest
- All Implemented Interfaces:
- InvocationHandlerTestMBean (src) , NotificationBroadcaster (src) , NotificationEmitter (src)
- public class EmitterInvocationHandlerTest
- extends InvocationHandlerTest (src)
- implements NotificationEmitter (src)
| 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 |
EmitterInvocationHandlerTest
public EmitterInvocationHandlerTest()
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 objectfilter - implementation of the filter object or null
if no filtering is requiredhandback - 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
removeNotificationListener
public void removeNotificationListener(NotificationListener (src) listener,
NotificationFilter (src) filter,
java.lang.Object handback)
throws ListenerNotFoundException (src)
- Description copied from interface:
NotificationEmitter (src)
- Removes a listener from the Emitter.
Only the listener, filter, handback triplet is removed
- Specified by:
removeNotificationListener in interface NotificationEmitter (src)
- Parameters:
listener - the listener object to removefilter - the filter registered with the listenerhandback - the handback object associated with the registered listener
- Throws:
ListenerNotFoundException (src) - if the listener was not found
sendNotification
public void sendNotification()