Uses of Class
io.github.marcopaglio.booking.repository.factory.ReservationRepositoryFactory
Package
Description
Provides facades for managing transactions in the booking application.
Contains implementations for managing transactions in MongoDB in the booking application.
Contains implementations for managing transactions in PostgreSQL in the booking application.
-
Uses of ReservationRepositoryFactory in io.github.marcopaglio.booking.transaction.manager
Modifier and TypeFieldDescriptionprotected ReservationRepositoryFactory
TransactionManager.reservationRepositoryFactory
Used for creation ofReservationPostgresRepository
instances.ModifierConstructorDescriptionprotected
TransactionManager
(TransactionHandlerFactory transactionHandlerFactory, ClientRepositoryFactory clientRepositoryFactory, ReservationRepositoryFactory reservationRepositoryFactory) Sets the handler and repository factories used by the service layer. -
Uses of ReservationRepositoryFactory in io.github.marcopaglio.booking.transaction.manager.mongo
ModifierConstructorDescriptionTransactionMongoManager
(com.mongodb.client.MongoClient mongoClient, String databaseName, TransactionHandlerFactory transactionHandlerFactory, ClientRepositoryFactory clientRepositoryFactory, ReservationRepositoryFactory reservationRepositoryFactory) Constructs a manager for applying code that uses entity repositories using MongoDB transactions. -
Uses of ReservationRepositoryFactory in io.github.marcopaglio.booking.transaction.manager.postgres
ModifierConstructorDescriptionTransactionPostgresManager
(jakarta.persistence.EntityManagerFactory emf, TransactionHandlerFactory transactionHandlerFactory, ClientRepositoryFactory clientRepositoryFactory, ReservationRepositoryFactory reservationRepositoryFactory) Constructs a manager for applying code that uses entity repositories using PostgreSQL transactions.