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 ServiceFinder.AbstractLazyIterator
configs, ignoreOnClassNotFound, loader, nextName, pending, returned, service, serviceName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLazyObjectIterator(Class<T> service, String serviceName, ClassLoader loader, boolean ignoreOnClassNotFound) -
Method Summary
Methods inherited from class ServiceFinder.AbstractLazyIterator
remove, setConfigsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
hasNextin interfaceIterator<T>- Overrides:
hasNextin classServiceFinder.AbstractLazyIterator<T>- Throws:
ServiceConfigurationError
-
next
-
handleClassNotFoundException
- Throws:
ServiceConfigurationError
-