remove code from evaluation article
This commit is contained in:
parent
e76cf9ca26
commit
c26eaf8696
@ -1,16 +0,0 @@
|
||||
package com.baeldung;
|
||||
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
|
||||
import com.baeldung.configuration.ConstructorConfig;
|
||||
import com.baeldung.model.Student;
|
||||
|
||||
public class ConstructorApp {
|
||||
public static void main(String[] args) {
|
||||
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ConstructorConfig.class);
|
||||
Student student = context.getBean(Student.class);
|
||||
student.introduceMyself();
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package com.baeldung;
|
||||
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import com.baeldung.configuration.SetterConfig;
|
||||
import com.baeldung.model.Student;
|
||||
|
||||
public class SetterApp {
|
||||
public static void main(String[] args) {
|
||||
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SetterConfig.class);
|
||||
Student student = context.getBean(Student.class);
|
||||
student.introduceMyself();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user