Package org.glassfish.jersey.internal
Class ServiceFinder.LazyObjectIterator<T>
java.lang.Object
org.glassfish.jersey.internal.ServiceFinder.AbstractLazyIterator<T>
org.glassfish.jersey.internal.ServiceFinder.LazyObjectIterator<T>
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
ServiceFinder<T>
private static final class ServiceFinder.LazyObjectIterator<T>
extends ServiceFinder.AbstractLazyIterator<T>
implements Iterator<T>
-
Field Summary
FieldsFields inherited from class org.glassfish.jersey.internal.ServiceFinder.AbstractLazyIterator
configs, ignoreOnClassNotFound, loader, nextName, pending, returned, service, serviceName
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
LazyObjectIterator
(Class<T> service, String serviceName, ClassLoader loader, boolean ignoreOnClassNotFound) -
Method Summary
Methods inherited from class org.glassfish.jersey.internal.ServiceFinder.AbstractLazyIterator
remove, setConfigs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
t
-
-
Constructor Details
-
LazyObjectIterator
private LazyObjectIterator(Class<T> service, String serviceName, ClassLoader loader, boolean ignoreOnClassNotFound)
-
-
Method Details
-
hasNext
- Specified by:
hasNext
in interfaceIterator<T>
- Overrides:
hasNext
in classServiceFinder.AbstractLazyIterator<T>
- Throws:
ServiceConfigurationError
-
next
-
handleClassNotFoundException
- Throws:
ServiceConfigurationError
-