Uses of Class
io.github.marcopaglio.booking.repository.factory.ClientRepositoryFactory
Packages that use ClientRepositoryFactory
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 ClientRepositoryFactory in io.github.marcopaglio.booking.transaction.manager
Fields in io.github.marcopaglio.booking.transaction.manager declared as ClientRepositoryFactoryModifier and TypeFieldDescriptionprotected ClientRepositoryFactory
TransactionManager.clientRepositoryFactory
Used for creation ofClientPostgresRepository
instances.Constructors in io.github.marcopaglio.booking.transaction.manager with parameters of type ClientRepositoryFactoryModifierConstructorDescriptionprotected
TransactionManager
(TransactionHandlerFactory transactionHandlerFactory, ClientRepositoryFactory clientRepositoryFactory, ReservationRepositoryFactory reservationRepositoryFactory) Sets the handler and repository factories used by the service layer. -
Uses of ClientRepositoryFactory in io.github.marcopaglio.booking.transaction.manager.mongo
Constructors in io.github.marcopaglio.booking.transaction.manager.mongo with parameters of type ClientRepositoryFactoryModifierConstructorDescriptionTransactionMongoManager
(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 ClientRepositoryFactory in io.github.marcopaglio.booking.transaction.manager.postgres
Constructors in io.github.marcopaglio.booking.transaction.manager.postgres with parameters of type ClientRepositoryFactoryModifierConstructorDescriptionTransactionPostgresManager
(jakarta.persistence.EntityManagerFactory emf, TransactionHandlerFactory transactionHandlerFactory, ClientRepositoryFactory clientRepositoryFactory, ReservationRepositoryFactory reservationRepositoryFactory) Constructs a manager for applying code that uses entity repositories using PostgreSQL transactions.