org.jboss.test.jmx.compliance.server.support
Class BroadcasterInvocationHandlerTest
java.lang.Object
org.jboss.test.jmx.compliance.server.support.InvocationHandlerTest
org.jboss.test.jmx.compliance.server.support.BroadcasterInvocationHandlerTest
- All Implemented Interfaces:
- InvocationHandlerTestMBean, javax.management.NotificationBroadcaster
- public class BroadcasterInvocationHandlerTest
- extends InvocationHandlerTest
- implements javax.management.NotificationBroadcaster
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock.
Methods inherited from class org.jboss.test.jmx.compliance.server.support.InvocationHandlerTest |
getAttribute, getType, invoke, invokeMixedParameters, invokeNoArgs, invokeNoArgsNoReturn, invokeNoReturn, isIsPrimitive, setAttribute, setIsPrimitive, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BroadcasterInvocationHandlerTest
public BroadcasterInvocationHandlerTest()
addNotificationListener
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
- Description copied from interface:
javax.management.NotificationBroadcaster
- Add a listener to an MBean.
- Specified by:
addNotificationListener
in interface javax.management.NotificationBroadcaster
- 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 javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Description copied from interface:
javax.management.NotificationBroadcaster
- Returns the notification metadata associated with the MBean.
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
- Returns:
- MBean's notification metadata
- See Also:
MBeanNotificationInfo
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Description copied from interface:
javax.management.NotificationBroadcaster
- Removes a listener from an MBean.
- Specified by:
removeNotificationListener
in interface javax.management.NotificationBroadcaster
- Parameters:
listener
- the listener object to remove
- Throws:
javax.management.ListenerNotFoundException
- if the listener was not found
sendNotification
public void sendNotification()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.