E - The service to loadpublic class ServiceLoaderIterator<E> extends Object implements Iterator<E>
ServiceLoader mechanism.| Constructor and Description | 
|---|
| ServiceLoaderIterator(Class<E> service) | 
| ServiceLoaderIterator(Class<E> service,
                     ClassLoader classLoader) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasNext() | 
| E | next() | 
| void | remove() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ServiceLoaderIterator(Class<E> service)
public ServiceLoaderIterator(Class<E> service, ClassLoader classLoader)
Copyright © 2018 The Apache Software Foundation. All rights reserved.