org.jboss.mx.notification
Class ListenerRegistry.ListenerRegistrationIterator
java.lang.Object
org.jboss.mx.notification.ListenerRegistry.ListenerRegistrationIterator
- All Implemented Interfaces:
- Iterator<ListenerRegistration>
- Enclosing class:
- ListenerRegistry
public class ListenerRegistry.ListenerRegistrationIterator
- extends Object
- implements Iterator<ListenerRegistration>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListenerRegistry.ListenerRegistrationIterator
public ListenerRegistry.ListenerRegistrationIterator()
- Constructs a new ListenerRegistration iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<ListenerRegistration>
next
public ListenerRegistration next()
- Specified by:
next
in interface Iterator<ListenerRegistration>
nextRegistration
public ListenerRegistration nextRegistration()
- Convenience method to returned a typed object
- Returns:
- the registration
remove
public void remove()
- Specified by:
remove
in interface Iterator<ListenerRegistration>
- Throws:
UnsupportedOperationException
- remove is not supported
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.