Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Instructor: Let's take care
of our normal housekeeping work.
Let's stop all apps and close all windows.
And now I'll go ahead and do a copy, paste here
on our 03 setter injection
and then I'll rename it as 04 qualifiers.
And then I'll go ahead and open this project in IntelliJ.
I'll go ahead and do a rebuild project just to make sure all
of our auto loading will work accordingly.
And then let's go ahead and move into our demo controller.
I'll expand the window here for a second.
And what I'd like to do is I'd like
to change the code back to make use
of constructor injection.
All righty, that's great.
So we have constructor injection set up, a okay.
Now I'd like to go through
and create multiple implementations
of the coach interface
just so we can kind of test this all out.
I'll move into this common package here
and I'll create a new class.
And this new class is called Baseball Coach
and this Baseball Coach implements, coach.
And I also add the component annotation on this class.
And then I'll go ahead and return a given string here
for the daily workout.
I'll tell the person to spend 30 minutes
in batting practice.
And now let's repeat the process here.
I'll create a new class here for Tennis Coach.
Implements the coach interface.
I'll also annotate this class with component.
And for Tennis Coach here,
we'll say practice your backhand volley.
All right, and let's repeat the drill one more time here.
Let's create a new class
and this will be for our Track Coach.
The Track Coach implements the coach interface
and the track coach, pretty intense, run a hard 5k.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.