Created
April 20, 2021 08:13
-
-
Save learnit-codeit/3e2e7f224bbe809cf53a28b13712f80c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Lazy | |
@Configuration | |
public class MyLazyConfiguration { | |
@Bean | |
public NormalClass normalClass() { | |
return new NormalClass(); | |
} | |
@Bean | |
public LazyClass lazyClass() { | |
return new LazyClass(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment