org.jboss.mx.notification
Class MBeanServerListenerRegistrationFactory
java.lang.Object
org.jboss.mx.notification.MBeanServerListenerRegistrationFactory
- All Implemented Interfaces:
- ListenerRegistrationFactory
public class MBeanServerListenerRegistrationFactory
- extends Object
- implements ListenerRegistrationFactory
The listener registration factory to create registrations
in the mbeanserver for an object name.
- Version:
- $Revision: 81022 $
- Author:
- Adrian Brock.
- See Also:
ListenerRegistry
,
ListenerRegistration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanServerListenerRegistrationFactory
public MBeanServerListenerRegistrationFactory(ObjectName name,
NotificationBroadcaster broadcaster)
- Construct a listener registration factory for the given object name
- Parameters:
name
- the object namename
- the notification broadcaster
- Throws:
IllegalArgumentException
- for a null object name
create
public ListenerRegistration create(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Specified by:
create
in interface ListenerRegistrationFactory
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.