public class ServiceTypeIterator<T> extends Object implements Iterator<Class<? extends T>>, AutoCloseable
| Constructor and Description |
|---|
ServiceTypeIterator(Class<T> serviceType,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static <T> Enumeration<T> |
concatUnique(Enumeration<? extends T> e1,
Enumeration<? extends T> e2) |
static Enumeration<URL> |
createEnumeration(Class<?> serviceType,
ClassLoader classLoader) |
boolean |
hasNext() |
static <T> List<Class<? extends T>> |
loadList(Class<T> serviceType,
ClassLoader classLoader) |
Class<? extends T> |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic ServiceTypeIterator(Class<T> serviceType, ClassLoader classLoader)
public static <T> List<Class<? extends T>> loadList(Class<T> serviceType, ClassLoader classLoader)
public void close()
close in interface AutoCloseablepublic static Enumeration<URL> createEnumeration(Class<?> serviceType, ClassLoader classLoader)
public static <T> Enumeration<T> concatUnique(Enumeration<? extends T> e1, Enumeration<? extends T> e2)
Copyright © 2026 vpc open source initiative. All rights reserved.