use of org.codelibs.fess.crawler.container.StandardCrawlerContainer in project fess-crawler by codelibs.
the class UrlFilterImplTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", //
MemoryDataHelper.class).singleton("urlFilterService", //
UrlFilterServiceImpl.class).singleton("urlFilter", //
UrlFilterImpl.class).singleton("dataService", DataServiceImpl.class);
urlFilter = container.getComponent("urlFilter");
dataHelper = container.getComponent("dataHelper");
}
use of org.codelibs.fess.crawler.container.StandardCrawlerContainer in project fess-crawler by codelibs.
the class EncodingHelperTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("encodingHelper", EncodingHelper.class);
encodingHelper = container.getComponent("encodingHelper");
}
use of org.codelibs.fess.crawler.container.StandardCrawlerContainer in project fess-crawler by codelibs.
the class RobotsTxtHelperTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("robotsTxtHelper", RobotsTxtHelper.class);
robotsTxtHelper = container.getComponent("robotsTxtHelper");
}
use of org.codelibs.fess.crawler.container.StandardCrawlerContainer in project fess-crawler by codelibs.
the class SitemapsHelperTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class);
sitemapsHelper = container.getComponent("sitemapsHelper");
}
use of org.codelibs.fess.crawler.container.StandardCrawlerContainer in project fess-crawler by codelibs.
the class UrlConvertHelperTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("urlConvertHelper", UrlConvertHelper.class);
urlConvertHelper = container.getComponent("urlConvertHelper");
}
Aggregations