Skip to content

Commit 511432f

Browse files
committed
Implemented the spring Core features, beans,scope,dependency injection,qualifier/primary for bean,postcontruct and predestroy
1 parent f8daa68 commit 511432f

File tree

6 files changed

+20
-0
lines changed

6 files changed

+20
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.uthman.springlesson.demoApp.components;
2+
3+
import com.uthman.springlesson.demoApp.interfaces.Coach;
4+
5+
public class BaskeBallCoach implements Coach {
6+
@Override
7+
public String getBeginnerRoutines() {
8+
return "Jump Shots x10, Drills 15min, Freestyle x10";
9+
}
10+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.uthman.springlesson.demoApp.components;public class FootBallCoach {
2+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.uthman.springlesson.demoApp.components;public class RugbyCoach {
2+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.uthman.springlesson.demoApp.components;public class SwimmingCoach {
2+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.uthman.springlesson.demoApp.config;public class Configuration {
2+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.uthman.springlesson.demoApp.interfaces;public interface Coach {
2+
}

0 commit comments

Comments
 (0)