Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,290 --> 00:00:02,123
Instructor: Let's take care
2
00:00:02,123 --> 00:00:02,956
of our normal housekeeping work.
3
00:00:02,956 --> 00:00:05,853
Let's stop all apps and close all windows.
4
00:00:18,270 --> 00:00:20,010
And now I'll go ahead and do a copy, paste here
5
00:00:20,010 --> 00:00:21,730
on our 03 setter injection
6
00:00:24,816 --> 00:00:26,866
and then I'll rename it as 04 qualifiers.
7
00:00:34,920 --> 00:00:38,253
And then I'll go ahead and open this project in IntelliJ.
8
00:00:47,790 --> 00:00:50,070
I'll go ahead and do a rebuild project just to make sure all
9
00:00:50,070 --> 00:00:53,103
of our auto loading will work accordingly.
10
00:00:56,370 --> 00:00:59,270
And then let's go ahead and move into our demo controller.
11
00:01:04,680 --> 00:01:07,080
I'll expand the window here for a second.
12
00:01:07,080 --> 00:01:08,460
And what I'd like to do is I'd like
13
00:01:08,460 --> 00:01:10,470
to change the code back to make use
14
00:01:10,470 --> 00:01:12,483
of constructor injection.
15
00:01:21,330 --> 00:01:22,163
All righty, that's great.
16
00:01:22,163 --> 00:01:24,873
So we have constructor injection set up, a okay.
17
00:01:34,110 --> 00:01:35,070
Now I'd like to go through
18
00:01:35,070 --> 00:01:36,870
and create multiple implementations
19
00:01:36,870 --> 00:01:38,100
of the coach interface
20
00:01:38,100 --> 00:01:40,150
just so we can kind of test this all out.
21
00:01:45,240 --> 00:01:46,710
I'll move into this common package here
22
00:01:46,710 --> 00:01:48,153
and I'll create a new class.
23
00:01:52,260 --> 00:01:54,760
And this new class is called Baseball Coach
24
00:02:00,150 --> 00:02:04,983
and this Baseball Coach implements, coach.
25
00:02:19,980 --> 00:02:23,403
And I also add the component annotation on this class.
26
00:02:34,200 --> 00:02:36,660
And then I'll go ahead and return a given string here
27
00:02:36,660 --> 00:02:38,253
for the daily workout.
28
00:02:42,900 --> 00:02:44,550
I'll tell the person to spend 30 minutes
29
00:02:44,550 --> 00:02:45,783
in batting practice.
30
00:02:52,980 --> 00:02:55,203
And now let's repeat the process here.
31
00:02:58,890 --> 00:03:01,293
I'll create a new class here for Tennis Coach.
32
00:03:14,640 --> 00:03:16,443
Implements the coach interface.
33
00:03:29,940 --> 00:03:32,190
I'll also annotate this class with component.
34
00:03:42,630 --> 00:03:44,100
And for Tennis Coach here,
35
00:03:44,100 --> 00:03:47,643
we'll say practice your backhand volley.
36
00:03:53,910 --> 00:03:57,210
All right, and let's repeat the drill one more time here.
37
00:03:57,210 --> 00:03:58,660
Let's create a new class
38
00:03:59,640 --> 00:04:01,593
and this will be for our Track Coach.
39
00:04:10,830 --> 00:04:13,150
The Track Coach implements the coach interface
40
00:04:22,019 --> 00:04:26,493
and the track coach, pretty intense, run a hard 5k.
3098
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.