BAEL-635 Overview of Spring 5 (#1633)

* Overview of Spring 5

* Overview of Spring 5

* BAEL-635 Formatting
This commit is contained in:
Thangtq211
2017-04-11 20:27:30 +07:00
committed by pedja4
parent 3286018dd2
commit e32c6e5f38
13 changed files with 684 additions and 137 deletions
@@ -0,0 +1,20 @@
package com.baeldung.jupiter;
import com.baeldung.web.reactive.Task;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
@Configuration
public class TestConfig {
@Bean
static PropertySourcesPlaceholderConfigurer placeholderConfigurer() {
return new PropertySourcesPlaceholderConfigurer();
}
@Bean
Task taskName() {
return new Task("taskName", 1);
}
}