@Internal public interface BeanResolutionContext extends Map<String,Object>, ValueResolver<CharSequence>
Modifier and Type | Interface and Description |
---|---|
static interface |
BeanResolutionContext.Path
Represents a path taken to resolve a bean definitions dependencies.
|
static interface |
BeanResolutionContext.Segment
A segment in a path.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
addInFlightBean(BeanIdentifier beanIdentifier,
T instance)
Adds a bean that is created as part of the resolution.
|
BeanContext |
getContext() |
<T> T |
getInFlightBean(BeanIdentifier beanIdentifier)
Obtains an inflight bean for the given identifier.
|
BeanResolutionContext.Path |
getPath() |
BeanDefinition |
getRootDefinition() |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
get, get, get, get
BeanContext getContext()
BeanDefinition getRootDefinition()
BeanResolutionContext.Path getPath()
<T> void addInFlightBean(BeanIdentifier beanIdentifier, T instance)
BeanContext.inject(Object)
T
- THe instance typebeanIdentifier
- The bean identifierinstance
- The instance@Nullable <T> T getInFlightBean(BeanIdentifier beanIdentifier)
T
- The bean typebeanIdentifier
- The bean identifier