public final class ParserContext
extends java.lang.Object
XmlReaderContext
.XmlReaderContext
,
BeanDefinitionParserDelegate
Modifier and Type | Field and Description |
---|---|
private BeanDefinition |
containingBeanDefinition |
private java.util.Stack<ComponentDefinition> |
containingComponents |
private BeanDefinitionParserDelegate |
delegate |
private XmlReaderContext |
readerContext |
Constructor and Description |
---|
ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate) |
ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate,
BeanDefinition containingBeanDefinition) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
extractSource(java.lang.Object sourceCandidate) |
BeanDefinition |
getContainingBeanDefinition() |
CompositeComponentDefinition |
getContainingComponent() |
BeanDefinitionParserDelegate |
getDelegate() |
XmlReaderContext |
getReaderContext() |
BeanDefinitionRegistry |
getRegistry() |
boolean |
isDefaultLazyInit() |
boolean |
isNested() |
void |
popAndRegisterContainingComponent() |
CompositeComponentDefinition |
popContainingComponent() |
void |
pushContainingComponent(CompositeComponentDefinition containingComponent) |
void |
registerBeanComponent(BeanComponentDefinition component) |
void |
registerComponent(ComponentDefinition component) |
private final XmlReaderContext readerContext
private final BeanDefinitionParserDelegate delegate
private BeanDefinition containingBeanDefinition
private final java.util.Stack<ComponentDefinition> containingComponents
public ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate)
public ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, BeanDefinition containingBeanDefinition)
public final XmlReaderContext getReaderContext()
public final BeanDefinitionRegistry getRegistry()
public final BeanDefinitionParserDelegate getDelegate()
public final BeanDefinition getContainingBeanDefinition()
public final boolean isNested()
public boolean isDefaultLazyInit()
public java.lang.Object extractSource(java.lang.Object sourceCandidate)
public CompositeComponentDefinition getContainingComponent()
public void pushContainingComponent(CompositeComponentDefinition containingComponent)
public CompositeComponentDefinition popContainingComponent()
public void popAndRegisterContainingComponent()
public void registerComponent(ComponentDefinition component)
public void registerBeanComponent(BeanComponentDefinition component)