Spring xml configuration#49
Open
Fedich09 wants to merge 40 commits intospringframeworkguru:masterfrom
Open
Conversation
This reverts commit dee11dc
This reverts commit dee11dc
added spring di
added qualifiers
added primary
added spring profiles
added default spring profiles
…ponent_scan � Conflicts: � .gitignore � mvnw � mvnw.cmd � pom.xml � src/main/java/guru/springframework/sfgdi/SfgDiApplication.java � src/main/java/guru/springframework/sfgdi/controllers/ConstructorInjectedController.java � src/main/java/guru/springframework/sfgdi/controllers/I18nController.java � src/main/java/guru/springframework/sfgdi/controllers/MyController.java � src/main/java/guru/springframework/sfgdi/controllers/PropertyInjectedController.java � src/main/java/guru/springframework/sfgdi/controllers/SetterInjectedController.java � src/main/java/guru/springframework/sfgdi/services/ConstructorGreetingService.java � src/main/java/guru/springframework/sfgdi/services/GreetingService.java � src/main/java/guru/springframework/sfgdi/services/I18nEnglishGreetingService.java � src/main/java/guru/springframework/sfgdi/services/PrimaryGreetingService.java � src/main/java/guru/springframework/sfgdi/services/PropertyInjectedGreetingService.java � src/main/resources/application.properties � src/test/java/guru/springframework/sfgdi/controllers/ConstructorInjectedControllerTest.java � src/test/java/guru/springframework/sfgdi/controllers/PropertyInjectedControllerTest.java � src/test/java/guru/springframework/sfgdi/controllers/SetterInjectedControllerTest.java
Component scan
added GreetingServiceConfig and configured couple of beans there
configured beans with java and added primary and profiles to those beans
did DI with java configuration
implemented simple beans factory
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.