T - Type of the bean described by this injection binding.D - Concrete injection binding implementation type.public abstract class MatchableBinding<T,D extends MatchableBinding> extends Binding<T,D>
| Modifier and Type | Class and Description |
|---|---|
static class |
MatchableBinding.Matching<D extends MatchableBinding>
Matching object that represents the level of a match between two bindings.
|
protected static class |
MatchableBinding.MatchLevel
Internal granularity of a Matching.
|
| Constructor and Description |
|---|
MatchableBinding() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract MatchableBinding.MatchLevel |
bestMatchLevel() |
protected MatchableBinding.Matching<D> |
matches(Binding<?,?> other) |
MatchableBinding.Matching<D> |
matchesContracts(Binding<?,?> other)
Return a Matching object that represents comparison between contracts of this binding and a given binding.
|
addAlias, analyzeWith, getAliases, getAnalyzer, getContracts, getImplementationType, getName, getQualifiers, getRank, getScope, in, isProxiable, isProxiedForSameScope, named, proxy, proxyForSameScope, qualifiedBy, ranked, to, to, to, toprotected abstract MatchableBinding.MatchLevel bestMatchLevel()
protected MatchableBinding.Matching<D> matches(Binding<?,?> other)
public MatchableBinding.Matching<D> matchesContracts(Binding<?,?> other)
other - Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.