当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
MBeanServerListenerRegistrationFactory (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
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: 1.3 $
- 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 name
- Throws:
IllegalArgumentException
- for a null object name
create
public ListenerRegistration create(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Description copied from interface:
ListenerRegistrationFactory
- Create a listener registration
- Specified by:
create
in interface ListenerRegistrationFactory
- Parameters:
listener
- the notification listenerfilter
- the notification filterhandback
- the handback object
- Returns:
- the listener registration
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.