org.springframework.beans.factory.xml
Class ParserContext
java.lang.Object
org.springframework.beans.factory.xml.ParserContext
public final class ParserContext
- extends Object
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:
XmlReaderContext
,
BeanDefinitionParserDelegate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserContext
public ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate)
ParserContext
public ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate,
BeanDefinition containingBeanDefinition)
getReaderContext
public final XmlReaderContext getReaderContext()
getRegistry
public final BeanDefinitionRegistry getRegistry()
getDelegate
public final BeanDefinitionParserDelegate getDelegate()
getContainingBeanDefinition
public final BeanDefinition getContainingBeanDefinition()
isNested
public final boolean isNested()
isDefaultLazyInit
public boolean isDefaultLazyInit()
extractSource
public Object extractSource(Object sourceCandidate)
getContainingComponent
public CompositeComponentDefinition getContainingComponent()
pushContainingComponent
public void pushContainingComponent(CompositeComponentDefinition containingComponent)
popContainingComponent
public CompositeComponentDefinition popContainingComponent()
popAndRegisterContainingComponent
public void popAndRegisterContainingComponent()
registerComponent
public void registerComponent(ComponentDefinition component)
Copyright © 2002-2007 The Spring Framework.