Class BookstoreApplication
java.lang.Object
com.university.bookstore.BookstoreApplication
Spring Boot application entry point for the Bookstore Management System.
This class demonstrates how the existing design can be easily extended with Spring Boot to provide REST API capabilities without modifying the core business logic or existing implementations.
The application leverages the existing MaterialStore interface and implementations, showing the extensibility and scalability of the hexagonal architecture design.
- Since:
- 2024-12-19
- Version:
- 1.0
- Author:
- Navid Mohaghegh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain entry point for the Spring Boot application.Configures the MaterialStore bean using the existing ModernConcurrentMaterialStore.
-
Constructor Details
-
BookstoreApplication
public BookstoreApplication()
-
-
Method Details
-
main
Main entry point for the Spring Boot application.- Parameters:
args- command line arguments
-
materialStore
Configures the MaterialStore bean using the existing ModernConcurrentMaterialStore. This demonstrates how the existing implementations can be easily integrated with Spring Boot dependency injection.- Returns:
- configured MaterialStore instance
-