Interface UnitOfWorkFactory


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

    Modifier and Type
    Method
    Description
    create(EventManager eventManager)
    Creates new instance of UnitOfWork implementation backed by this factory.
  • Method Details

    • 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