org.jboss.mx.notification
Class MBeanServerListenerRegistrationFactory

java.lang.Object
  extended by 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

Constructor Summary
MBeanServerListenerRegistrationFactory(ObjectName name, NotificationBroadcaster broadcaster)
          Construct a listener registration factory for the given object name
 
Method Summary
 ListenerRegistration create(NotificationListener listener, NotificationFilter filter, Object handback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerListenerRegistrationFactory

public MBeanServerListenerRegistrationFactory(ObjectName name,
                                              NotificationBroadcaster broadcaster)
Construct a listener registration factory for the given object name

Parameters:
name - the object name
name - the notification broadcaster
Throws:
IllegalArgumentException - for a null object name
Method Detail

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.