polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZEST-97) UnitOfWork as a Composite
Date Sun, 12 Jul 2015 08:53:04 GMT
Niclas Hedhman created ZEST-97:
----------------------------------

             Summary: UnitOfWork as a Composite
                 Key: ZEST-97
                 URL: https://issues.apache.org/jira/browse/ZEST-97
             Project: Zest
          Issue Type: Sub-task
            Reporter: Niclas Hedhman
             Fix For: 3.0


Perhaps it is possible to refactor the UnitOfWork(Factory) in such a way that it is a Composite
and can be custom modeled with Concerns, Mixins and other fragments.
If possible many things would become easier, StateNotificationListener becomes a SideEffect,
which in turn could be asynchronous. Or Usecase could possibly be an annotation or metaInfo
on the UoW in each module.

It might also lead to a different delegation between UnitOfWork and EntityStore, and possibly
more than one UnitOfWork implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message