use of cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor 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);
}
use of cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor in project today-infrastructure by TAKETODAY.
the class EventPublicationTests method setUp.
@BeforeEach
public void setUp() throws Exception {
XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.beanFactory);
reader.setEventListener(this.eventListener);
reader.setSourceExtractor(new PassThroughSourceExtractor());
reader.loadBeanDefinitions(new ClassPathResource("beanEvents.xml", getClass()));
}
use of cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor in project today-framework by TAKETODAY.
the class EventPublicationTests method setUp.
@BeforeEach
public void setUp() throws Exception {
XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(this.beanFactory);
reader.setEventListener(this.eventListener);
reader.setSourceExtractor(new PassThroughSourceExtractor());
reader.loadBeanDefinitions(new ClassPathResource("beanEvents.xml", getClass()));
}
use of cn.taketoday.beans.factory.parsing.PassThroughSourceExtractor 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);
}
Aggregations