-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathInstructorsConfig.java
More file actions
41 lines (28 loc) · 885 Bytes
/
InstructorsConfig.java
File metadata and controls
41 lines (28 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.example.demo;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
@Configuration
public class InstructorsConfig {
//public static void main(String[] args) {
// TODO Auto-generated method stub
//@Bean(name="delTechTuesdayInstructors")
//Final Instructors delTechTuesdayInstructors() {
// return null;
//}
//}
@Bean(name="delTechTuesdayInstructors")
private static Instructors delTechTuesdayInstructors() {
return null;
// TODO Auto-generated method stub
}
@Bean(name="delTechThursdayInstructors")
private static Instructors delTechThursdayInstructors() {
return null;
// TODO Auto-generated method stub
}
@Bean(name="delTechInstructors") @Primary
private static Instructors delTechInstructors() {
return null;
// TODO Auto-generated method stub
}
}