JAVA-8373: Split or move spring-boot-bootstrap module
This commit is contained in:
@@ -9,5 +9,4 @@ This module contains articles about bootstrapping Spring Boot applications.
|
||||
- [Deploy a Spring Boot Application to Google App Engine](https://www.baeldung.com/spring-boot-google-app-engine)
|
||||
- [Deploy a Spring Boot Application to OpenShift](https://www.baeldung.com/spring-boot-deploy-openshift)
|
||||
- [Deploy a Spring Boot Application to AWS Beanstalk](https://www.baeldung.com/spring-boot-deploy-aws-beanstalk)
|
||||
- [Guide to @SpringBootConfiguration in Spring Boot](https://www.baeldung.com/springbootconfiguration-annotation)
|
||||
- [Implement Health Checks in OpenShift](https://www.baeldung.com/ops/openshift-health-checks)
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.baeldung.springbootconfiguration;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.SpringBootConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
@ComponentScan(basePackages = {"com.baeldung.springbootconfiguration.*"})
|
||||
@SpringBootConfiguration
|
||||
public class Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public PersonService personService() {
|
||||
return new PersonServiceImpl();
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
package com.baeldung.springbootconfiguration;
|
||||
|
||||
public interface PersonService {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
package com.baeldung.springbootconfiguration;
|
||||
|
||||
public class PersonServiceImpl implements PersonService {
|
||||
}
|
||||
Reference in New Issue
Block a user