public final class Service
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.util.Map<java.lang.String,java.util.List<?>> |
instanceMap |
| Modifier | Constructor and Description |
|---|---|
private |
Service() |
| Modifier and Type | Method and Description |
|---|---|
private static <T> java.util.List<T> |
cast(java.util.List<?> p) |
static <T> java.util.List<? extends T> |
providers(java.lang.Class<T> cls)
Returns an iterator where each element should implement the
interface (or subclass the baseclass) described by cls.
|
private static <T> java.util.List<T> cast(java.util.List<?> p)
public static <T> java.util.List<? extends T> providers(java.lang.Class<T> cls)
cls - The class/interface to search for providers of.