How can I set the default behavior of lazy init in Spring Boot?
<p>I am working on my first <strong>Spring Boot</strong> application and I have the following problem.</p>

<p>I want to set the that for default all beans are lazy loaded. I know that I can add the <code>@Lazy</code> to all my <code>@Component</code> beans but I want that for default all beans are setted at lazy...</p>

<p>In <strong>Spring Boot</strong> I don't have an XML configuration file or a configuration class but I only have an <code>application.properties</code> configuration file.</p>

<p>So, how can I set that the default behavior for all the bean is lazy=true</p>