public final class ModelMergerImpl extends java.lang.Object implements ModelMerger
Modifier and Type | Class and Description |
---|---|
class |
ModelMergerImpl.MergingInvocationHandler<T> |
ModelMerger.InvocationStrategy<T>, ModelMerger.MergingStrategy<T>
Constructor and Description |
---|
ModelMergerImpl() |
Modifier and Type | Method and Description |
---|---|
<T> void |
addInvocationStrategy(java.lang.Class<T> aClass,
ModelMerger.InvocationStrategy<T> strategy) |
<T> void |
addMergingStrategy(java.lang.Class<T> aClass,
ModelMerger.MergingStrategy<T> strategy) |
protected java.lang.Object |
mergeImplementations(java.lang.Class returnType,
java.util.List<java.lang.Object> implementations) |
<T> T |
mergeModels(java.lang.Class<T> aClass,
java.util.Collection<? extends T> implementations) |
<T> T |
mergeModels(java.lang.Class<T> aClass,
T... implementations) |
public final <T> void addInvocationStrategy(java.lang.Class<T> aClass, ModelMerger.InvocationStrategy<T> strategy)
addInvocationStrategy
in interface ModelMerger
public final <T> void addMergingStrategy(java.lang.Class<T> aClass, ModelMerger.MergingStrategy<T> strategy)
addMergingStrategy
in interface ModelMerger
public <T> T mergeModels(java.lang.Class<T> aClass, T... implementations)
mergeModels
in interface ModelMerger
public <T> T mergeModels(java.lang.Class<T> aClass, java.util.Collection<? extends T> implementations)
mergeModels
in interface ModelMerger
protected final java.lang.Object mergeImplementations(java.lang.Class returnType, java.util.List<java.lang.Object> implementations)