Package org.wildfly.security.auth.server
Interface ModifiableRealmIdentityIterator
-
- All Superinterfaces:
AutoCloseable
,Iterator<ModifiableRealmIdentity>
public interface ModifiableRealmIdentityIterator extends Iterator<ModifiableRealmIdentity>, AutoCloseable
An iterator over realm identities. The iterator should be closed in order to release any associated resources.- Author:
- Jan Kalina
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default void
close()
Close any underlying resources.static ModifiableRealmIdentityIterator
emptyIterator()
Returns an iterator that has no elements and is closeable.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
close
default void close() throws RealmUnavailableException
Close any underlying resources. No need to call if end of sequence already occurred.- Specified by:
close
in interfaceAutoCloseable
- Throws:
RealmUnavailableException
-
emptyIterator
static ModifiableRealmIdentityIterator emptyIterator()
Returns an iterator that has no elements and is closeable.- Returns:
- empty closeable iterator
-
-