public class ProducerFactoryMap extends Object implements Map<Class<?>,List<ProducerFactory<?>>>
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<Class<?>,List<ProducerFactory<?>>> |
map |
| Constructor and Description |
|---|
ProducerFactoryMap() |
| Modifier and Type | Method and Description |
|---|---|
static ProducerFactoryMap |
from(Iterable<ProducerFactory> iterable) |
ProducerFactory<?> |
get(Class<?> clazz,
Condition<?> condition) |
private static Class<?> |
getGenericClassFrom(ProducerFactory<?> provider) |
void |
memorizeProviderForClazz(ProducerFactory<?> provider,
Class<?> clazz) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesfinal Map<Class<?>,List<ProducerFactory<?>>> map
public static ProducerFactoryMap from(Iterable<ProducerFactory> iterable)
private static Class<?> getGenericClassFrom(ProducerFactory<?> provider)
public void memorizeProviderForClazz(ProducerFactory<?> provider, Class<?> clazz)
public ProducerFactory<?> get(Class<?> clazz, Condition<?> condition)
Copyright © 2015. All rights reserved.