PAN-7 Initial setup of the persistence with Spring Data JPA, Hibernate, Tomcat Server, and Spring Boot

This commit is contained in:
2019-02-17 16:52:31 -07:00
parent 015c80215c
commit cc302f17c3
31 changed files with 175 additions and 124 deletions
@@ -1,26 +1,26 @@
package edu.msudenver.tsp.services.parser;
import edu.msudenver.tsp.persistence.manager.DefinitionManager;
import edu.msudenver.tsp.persistence.manager.NotationManager;
import edu.msudenver.tsp.persistence.manager.ProofManager;
import edu.msudenver.tsp.persistence.manager.TheoremManager;
import edu.msudenver.tsp.persistence.controller.DefinitionController;
import edu.msudenver.tsp.persistence.controller.NotationController;
import edu.msudenver.tsp.persistence.controller.ProofController;
import edu.msudenver.tsp.persistence.controller.TheoremController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
class ParserService {
private final DefinitionManager definitionManager;
private final TheoremManager theoremManager;
private final NotationManager notationManager;
private final ProofManager proofManager;
private final DefinitionController definitionController;
private final TheoremController theoremController;
private final NotationController notationController;
private final ProofController proofController;
@Autowired
public ParserService(final DefinitionManager definitionManager, final TheoremManager theoremManager,
final NotationManager notationManager, final ProofManager proofManager) {
this.definitionManager = definitionManager;
this.theoremManager = theoremManager;
this.notationManager = notationManager;
this.proofManager = proofManager;
public ParserService(final DefinitionController definitionController, final TheoremController theoremController,
final NotationController notationController, final ProofController proofController) {
this.definitionController = definitionController;
this.theoremController = theoremController;
this.notationController = notationController;
this.proofController = proofController;
}
}