Class ParserContext
java.lang.Object
org.springframework.beans.factory.xml.ParserContext
Context that gets passed along a bean definition parsing process,
encapsulating all relevant configuration as well as state.
Nested inside an
XmlReaderContext
.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionParserContext
(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate) ParserContext
(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, @Nullable BeanDefinition containingBeanDefinition) -
Method Summary
Modifier and TypeMethodDescriptionextractSource
(Object sourceCandidate) boolean
boolean
isNested()
void
void
pushContainingComponent
(CompositeComponentDefinition containingComponent) void
registerBeanComponent
(BeanComponentDefinition component) void
registerComponent
(ComponentDefinition component)
-
Constructor Details
-
ParserContext
-
ParserContext
public ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, @Nullable BeanDefinition containingBeanDefinition)
-
-
Method Details
-
getReaderContext
-
getRegistry
-
getDelegate
-
getContainingBeanDefinition
-
isNested
public boolean isNested() -
isDefaultLazyInit
public boolean isDefaultLazyInit() -
extractSource
-
getContainingComponent
-
pushContainingComponent
-
popContainingComponent
-
popAndRegisterContainingComponent
public void popAndRegisterContainingComponent() -
registerComponent
-
registerBeanComponent
-