BAEL-635 Overview of Spring 5 (#1633)
* Overview of Spring 5 * Overview of Spring 5 * BAEL-635 Formatting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user