Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 10878 invoked from network); 9 Mar 2011 20:47:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 20:47:22 -0000 Received: (qmail 76834 invoked by uid 500); 9 Mar 2011 20:47:22 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 76770 invoked by uid 500); 9 Mar 2011 20:47:22 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 76763 invoked by uid 99); 9 Mar 2011 20:47:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 20:47:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 20:47:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 709E73A1821 for ; Wed, 9 Mar 2011 20:46:59 +0000 (UTC) Date: Wed, 9 Mar 2011 20:46:59 +0000 (UTC) From: "Andy Schwartz (JIRA)" To: dev@myfaces.apache.org Message-ID: <1464849991.9095.1299703619458.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <39692492.8884.1299698999548.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (TRINIDAD-2055) Introduce ChangeManager wrapper class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TRINIDAD-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Schwartz updated TRINIDAD-2055: ------------------------------------ Status: Patch Available (was: Open) > Introduce ChangeManager wrapper class > ------------------------------------- > > Key: TRINIDAD-2055 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2055 > Project: MyFaces Trinidad > Issue Type: Improvement > Affects Versions: 2.0.0-beta-2 > Reporter: Andy Schwartz > Assignee: Andy Schwartz > Priority: Minor > Attachments: ChangeManagerWrapper.java > > > One way that users might customize change management behavior is to create a proxy ChangeManager that delegates through to an underlying ChangeManager (eg. to SessionChangeManager) for most operations after performing filtering of the incoming changes. It is possible to implement such proxy ChangeManager classes today. However, without a wrapper base class, these implementations are fragile - ie. they will break if we ever introduce a new method to the ChangeManager API. > A more robust solution would be to introduce a base wrapper class for proxy ChangeManager implementations to extend. That way, in the event that we do introduce new ChangeManager methods, the base wrapper class can be updated in parallel, protecting subclasses from the change. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira