-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
613 additions
and
999 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/main/java/tech/jhipster/lite/generator/buildtool/generic/domain/BuildToolService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 10 additions & 17 deletions
27
...lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
package tech.jhipster.lite.generator.server.springboot.mvc.web.application; | ||
|
||
import org.springframework.stereotype.Service; | ||
import tech.jhipster.lite.generator.project.domain.Project; | ||
import tech.jhipster.lite.generator.server.springboot.mvc.web.domain.SpringBootMvcService; | ||
import tech.jhipster.lite.generator.server.springboot.mvc.web.domain.SpringBootMvcsModulesFactory; | ||
import tech.jhipster.lite.module.domain.JHipsterModule; | ||
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties; | ||
|
||
@Service | ||
public class SpringBootMvcApplicationService { | ||
|
||
private final SpringBootMvcService springBootMvcService; | ||
private final SpringBootMvcsModulesFactory factory; | ||
|
||
public SpringBootMvcApplicationService(SpringBootMvcService springBootMvcService) { | ||
this.springBootMvcService = springBootMvcService; | ||
public SpringBootMvcApplicationService() { | ||
factory = new SpringBootMvcsModulesFactory(); | ||
} | ||
|
||
public void init(Project project) { | ||
this.springBootMvcService.init(project); | ||
public JHipsterModule buildTomcatModule(JHipsterModuleProperties properties) { | ||
return factory.buildTomcatModule(properties); | ||
} | ||
|
||
public void addSpringBootMvc(Project project) { | ||
springBootMvcService.addSpringBootMvc(project); | ||
} | ||
|
||
public void addSpringBootUndertow(Project project) { | ||
springBootMvcService.addSpringBootUndertow(project); | ||
} | ||
|
||
public void addExceptionHandler(Project project) { | ||
springBootMvcService.addExceptionHandler(project); | ||
public JHipsterModule buildUndertowModule(JHipsterModuleProperties properties) { | ||
return factory.buildUntertowModule(properties); | ||
} | ||
} |
62 changes: 0 additions & 62 deletions
62
...ain/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvc.java
This file was deleted.
Oops, something went wrong.
187 changes: 0 additions & 187 deletions
187
.../jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcDomainService.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...a/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcService.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.