<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Custom scanners in Spring Framework with example</title>
	<atom:link href="http://www.milewski.ws/2008/11/custom-scanners-in-spring-framework-with-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.milewski.ws/2008/11/custom-scanners-in-spring-framework-with-example/</link>
	<description>foobar damaged brain</description>
	<pubDate>Sun, 05 Feb 2012 12:09:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Łukasz Milewski</title>
		<link>http://www.milewski.ws/2008/11/custom-scanners-in-spring-framework-with-example/comment-page-1/#comment-128</link>
		<dc:creator>Łukasz Milewski</dc:creator>
		<pubDate>Thu, 08 Jan 2009 20:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.milewski.ws/?p=47#comment-128</guid>
		<description>There's no way (at least right now) to access base-package variable from context:component-scan. You have two options, either specify base package in source code or in bean definition. In my projects, I'm doing the first version with slight modification - in source code I have specified default base package that can be overwritten by using setBasePackage(String).

As for 2nd question, if you're using context:component-scan you don't need to do anything except adding @Component to the class that implement custom scanner.

Thanks for reading ;-)</description>
		<content:encoded><![CDATA[<p>There&#8217;s no way (at least right now) to access base-package variable from context:component-scan. You have two options, either specify base package in source code or in bean definition. In my projects, I&#8217;m doing the first version with slight modification - in source code I have specified default base package that can be overwritten by using setBasePackage(String).</p>
<p>As for 2nd question, if you&#8217;re using context:component-scan you don&#8217;t need to do anything except adding @Component to the class that implement custom scanner.</p>
<p>Thanks for reading ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.milewski.ws/2008/11/custom-scanners-in-spring-framework-with-example/comment-page-1/#comment-127</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 08 Jan 2009 18:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.milewski.ws/?p=47#comment-127</guid>
		<description>Also, how I declare this new scanner in the application context file ?
Thanks in advance</description>
		<content:encoded><![CDATA[<p>Also, how I declare this new scanner in the application context file ?<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.milewski.ws/2008/11/custom-scanners-in-spring-framework-with-example/comment-page-1/#comment-126</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 08 Jan 2009 13:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.milewski.ws/?p=47#comment-126</guid>
		<description>Hi,

Thanks for your post, that's exactly what I need.
I have just a question about the "basePackages" variable, where does it come from ? I didn't manage to find where..?

Thanks a lot

Thomas</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your post, that&#8217;s exactly what I need.<br />
I have just a question about the &#8220;basePackages&#8221; variable, where does it come from ? I didn&#8217;t manage to find where..?</p>
<p>Thanks a lot</p>
<p>Thomas</p>
]]></content:encoded>
	</item>
</channel>
</rss>

