JBossMX Parent POM 6.0.0.GA

org.jboss.mx.notification
Class ListenerRegistry.ListenerRegistrationIterator

java.lang.Object
  extended by org.jboss.mx.notification.ListenerRegistry.ListenerRegistrationIterator
All Implemented Interfaces:
Iterator<ListenerRegistration>
Enclosing class:
ListenerRegistry

public class ListenerRegistry.ListenerRegistrationIterator
extends Object
implements Iterator<ListenerRegistration>


Constructor Summary
ListenerRegistry.ListenerRegistrationIterator()
          Constructs a new ListenerRegistration iterator
 
Method Summary
 boolean hasNext()
           
 ListenerRegistration next()
           
 ListenerRegistration nextRegistration()
          Convenience method to returned a typed object
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerRegistry.ListenerRegistrationIterator

public ListenerRegistry.ListenerRegistrationIterator()
Constructs a new ListenerRegistration iterator

Method Detail

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

JBossMX Parent POM 6.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.