Interface UnitOfWorkFactory


  • public interface UnitOfWorkFactory
    Factory responsible for create instances of UnitOfWork of given implementation type.
    • Method Detail

      • create

        UnitOfWork create​(EventManager eventManager)
        Creates new instance of UnitOfWork implementation backed by this factory.
        Parameters:
        eventManager - event manager to publish events
        Returns:
        new unit of work instance