<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pro-Tek Blog &#187; EnableAuto Configuration</title>
	<atom:link href="http://www.pro-tekconsulting.com/blog/category/enableauto-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pro-tekconsulting.com/blog</link>
	<description>For UI developers / UI designers and UI trends</description>
	<lastBuildDate>Thu, 05 Sep 2019 03:59:47 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.34</generator>
	<item>
		<title>WHAT DOES @ENABLEAUTOCONFIGURATION DO? WHAT ABOUT @SPRINGBOOTAPPLICATION?</title>
		<link>http://www.pro-tekconsulting.com/blog/what-does-enableautoconfiguration-do-what-about-springbootapplication/</link>
		<comments>http://www.pro-tekconsulting.com/blog/what-does-enableautoconfiguration-do-what-about-springbootapplication/#comments</comments>
		<pubDate>Thu, 04 Jan 2018 06:34:29 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[EnableAuto Configuration]]></category>
		<category><![CDATA[SpringBoot Application]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=2316</guid>
		<description><![CDATA[<p>What does @EnableAutoConfiguration do? What about @SpringBootApplication? @EnableAutoConfiguration annotation on a Spring Java configuration class – Causes Spring Boot to automatically creates beans you need. – Usually based on classpath contents, can easily override. @Configuration @EnableAutoConfiguration public class MyAppConfig { public static void main(String[] args) { SpringApplication.run(MyAppConfig.class, args); } } @SpringBootApplication was available from Spring [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/what-does-enableautoconfiguration-do-what-about-springbootapplication/">WHAT DOES @ENABLEAUTOCONFIGURATION DO? WHAT ABOUT @SPRINGBOOTAPPLICATION?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>What does @EnableAutoConfiguration do? What about @SpringBootApplication?</h4>
<p>@EnableAutoConfiguration annotation on a Spring Java configuration class<br />
– Causes Spring Boot to automatically creates beans you need.<br />
– Usually based on classpath contents, can easily override.<br />
@Configuration<br />
@EnableAutoConfiguration<br />
public class MyAppConfig {<br />
public static void main(String[] args) {<br />
SpringApplication.run(MyAppConfig.class, args);<br />
}<br />
}</p>
<p>@SpringBootApplication was available from Spring Boot 1.2<br />
It is very common to use @EnableAutoConfiguration, @Configuration, and @ComponentScan together.<br />
@Configuration<br />
@ComponentScan<br />
@EnableAutoConfiguration<br />
public class MyAppConfig {<br />
&#8230;<br />
}</p>
<p>With @SpringBootApplication annotation<br />
@SpringBootApplication<br />
public class MyAppConfig {<br />
&#8230;<br />
}</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/what-does-enableautoconfiguration-do-what-about-springbootapplication/">WHAT DOES @ENABLEAUTOCONFIGURATION DO? WHAT ABOUT @SPRINGBOOTAPPLICATION?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/what-does-enableautoconfiguration-do-what-about-springbootapplication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
