private static final class ServiceFinder.LazyObjectIterator<T> extends ServiceFinder.AbstractLazyIterator<T> implements java.util.Iterator<T>
Modifier and Type | Field and Description |
---|---|
private T |
t |
configs, ignoreOnClassNotFound, loader, nextName, pending, returned, service, serviceName
Modifier | Constructor and Description |
---|---|
private |
LazyObjectIterator(java.lang.Class<T> service,
java.lang.String serviceName,
java.lang.ClassLoader loader,
boolean ignoreOnClassNotFound) |
Modifier and Type | Method and Description |
---|---|
private void |
handleClassNotFoundException() |
boolean |
hasNext() |
T |
next() |
remove, setConfigs
private T t
private LazyObjectIterator(java.lang.Class<T> service, java.lang.String serviceName, java.lang.ClassLoader loader, boolean ignoreOnClassNotFound)
public boolean hasNext() throws ServiceConfigurationError
hasNext
in interface java.util.Iterator<T>
hasNext
in class ServiceFinder.AbstractLazyIterator<T>
ServiceConfigurationError
private void handleClassNotFoundException() throws ServiceConfigurationError
ServiceConfigurationError