Return-Path: X-Original-To: apmail-zest-dev-archive@minotaur.apache.org Delivered-To: apmail-zest-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D4F4181EA for ; Sun, 12 Jul 2015 08:53:05 +0000 (UTC) Received: (qmail 11384 invoked by uid 500); 12 Jul 2015 08:53:04 -0000 Delivered-To: apmail-zest-dev-archive@zest.apache.org Received: (qmail 11345 invoked by uid 500); 12 Jul 2015 08:53:04 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 11334 invoked by uid 99); 12 Jul 2015 08:53:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2015 08:53:04 +0000 Date: Sun, 12 Jul 2015 08:53:04 +0000 (UTC) From: "Niclas Hedhman (JIRA)" To: dev@zest.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZEST-97) UnitOfWork as a Composite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)