Search in sources :

Example 1 with SourceExtractor

use of cn.taketoday.beans.factory.parsing.SourceExtractor in project today-infrastructure by TAKETODAY.

the class AspectJNamespaceHandlerTests method setUp.

@BeforeEach
public void setUp() throws Exception {
    SourceExtractor sourceExtractor = new PassThroughSourceExtractor();
    XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.registry);
    XmlReaderContext readerContext = new XmlReaderContext(null, null, this.readerEventListener, sourceExtractor, reader, null);
    this.parserContext = new ParserContext(readerContext, null);
}
Also used : PassThroughSourceExtractor(cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor) XmlBeanDefinitionReader(cn.taketoday.beans.factory.xml.XmlBeanDefinitionReader) XmlReaderContext(cn.taketoday.beans.factory.xml.XmlReaderContext) ParserContext(cn.taketoday.beans.factory.xml.ParserContext) PassThroughSourceExtractor(cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor) SourceExtractor(cn.taketoday.beans.factory.parsing.SourceExtractor) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with SourceExtractor

use of cn.taketoday.beans.factory.parsing.SourceExtractor in project today-framework by TAKETODAY.

the class AspectJNamespaceHandlerTests method setUp.

@BeforeEach
public void setUp() throws Exception {
    SourceExtractor sourceExtractor = new PassThroughSourceExtractor();
    XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.registry);
    XmlReaderContext readerContext = new XmlReaderContext(null, null, this.readerEventListener, sourceExtractor, reader, null);
    this.parserContext = new ParserContext(readerContext, null);
}
Also used : PassThroughSourceExtractor(cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor) XmlBeanDefinitionReader(cn.taketoday.beans.factory.xml.XmlBeanDefinitionReader) XmlReaderContext(cn.taketoday.beans.factory.xml.XmlReaderContext) ParserContext(cn.taketoday.beans.factory.xml.ParserContext) PassThroughSourceExtractor(cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor) SourceExtractor(cn.taketoday.beans.factory.parsing.SourceExtractor) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

PassThroughSourceExtractor (cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor)2 SourceExtractor (cn.taketoday.beans.factory.parsing.SourceExtractor)2 ParserContext (cn.taketoday.beans.factory.xml.ParserContext)2 XmlBeanDefinitionReader (cn.taketoday.beans.factory.xml.XmlBeanDefinitionReader)2 XmlReaderContext (cn.taketoday.beans.factory.xml.XmlReaderContext)2 BeforeEach (org.junit.jupiter.api.BeforeEach)2