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:
java.util.Iterator<T>
- Enclosing class:
- ServiceFinder<T>
private static final class ServiceFinder.LazyObjectIterator<T> extends ServiceFinder.AbstractLazyIterator<T> implements java.util.Iterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description private T
t
-
Fields inherited from class org.glassfish.jersey.internal.ServiceFinder.AbstractLazyIterator
configs, ignoreOnClassNotFound, loader, nextName, pending, returned, service, serviceName
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LazyObjectIterator(java.lang.Class<T> service, java.lang.String serviceName, java.lang.ClassLoader loader, boolean ignoreOnClassNotFound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
handleClassNotFoundException()
boolean
hasNext()
T
next()
-
Methods inherited from class org.glassfish.jersey.internal.ServiceFinder.AbstractLazyIterator
remove, setConfigs
-
-
-
-
Field Detail
-
t
private T t
-
-
Constructor Detail
-
LazyObjectIterator
private LazyObjectIterator(java.lang.Class<T> service, java.lang.String serviceName, java.lang.ClassLoader loader, boolean ignoreOnClassNotFound)
-
-
Method Detail
-
hasNext
public boolean hasNext() throws ServiceConfigurationError
- Specified by:
hasNext
in interfacejava.util.Iterator<T>
- Overrides:
hasNext
in classServiceFinder.AbstractLazyIterator<T>
- Throws:
ServiceConfigurationError
-
handleClassNotFoundException
private void handleClassNotFoundException() throws ServiceConfigurationError
- Throws:
ServiceConfigurationError
-
-