public interface UnitOfWorkFactory
Factory responsible for create instances of UnitOfWork of given
implementation type.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(EventManager eventManager) Creates new instance of UnitOfWork implementation backed by this factory.
-
Method Details
-
create
Creates new instance of UnitOfWork implementation backed by this factory.- Parameters:
eventManager- event manager to publish events- Returns:
- new unit of work instance
-