@Internal public final class DefaultBeanResolutionContext extends AbstractBeanResolutionContext
BeanResolutionContext.AbstractBeanResolutionContext.ConstructorArgumentSegment, AbstractBeanResolutionContext.ConstructorSegment, AbstractBeanResolutionContext.FieldSegment, AbstractBeanResolutionContext.MethodArgumentSegment, AbstractBeanResolutionContext.MethodSegmentBeanResolutionContext.Path, BeanResolutionContext.Segment<T>context, rootDefinition| Constructor and Description | 
|---|
DefaultBeanResolutionContext(BeanContext context,
                            BeanDefinition rootDefinition)  | 
DefaultBeanResolutionContext(BeanContext context,
                            BeanDefinition rootDefinition,
                            Map<BeanIdentifier,Object> beansInCreation)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> void | 
addInFlightBean(BeanIdentifier beanIdentifier,
               T instance)
Adds a bean that is created as part of the resolution. 
 | 
void | 
close()  | 
BeanResolutionContext | 
copy()
Copy current context to be used later. 
 | 
<T> T | 
getInFlightBean(BeanIdentifier beanIdentifier)
Obtains an inflight bean for the given identifier. 
 | 
void | 
removeInFlightBean(BeanIdentifier beanIdentifier)
Removes a bean that is in the process of being created. 
 | 
addDependentBean, copyStateFrom, destroyInjectScopedBeans, get, get, getAndResetDependentBeans, getAttribute, getContext, getCurrentQualifier, getPath, getRootDefinition, removeAttribute, setAttribute, setCurrentQualifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getpublic DefaultBeanResolutionContext(BeanContext context, BeanDefinition rootDefinition)
context - The bean contextrootDefinition - The bean root definitionpublic DefaultBeanResolutionContext(BeanContext context, BeanDefinition rootDefinition, Map<BeanIdentifier,Object> beansInCreation)
context - The bean contextrootDefinition - The bean root definitionbeansInCreation - the beans in creationpublic BeanResolutionContext copy()
BeanResolutionContextpublic void close()
public <T> void addInFlightBean(BeanIdentifier beanIdentifier, T instance)
BeanResolutionContextBeanContext.inject(Object)T - THe instance typebeanIdentifier - The bean identifierinstance - The instancepublic void removeInFlightBean(BeanIdentifier beanIdentifier)
BeanResolutionContextBeanContext.inject(Object)beanIdentifier - The bean identifier@Nullable public <T> T getInFlightBean(BeanIdentifier beanIdentifier)
BeanResolutionContextPostConstruct method that also triggers bean resolution of the same bean.T - The bean typebeanIdentifier - The bean identifier