Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 33734 invoked from network); 15 Sep 2006 20:13:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 20:13:54 -0000 Received: (qmail 61301 invoked by uid 500); 15 Sep 2006 20:13:36 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 61241 invoked by uid 500); 15 Sep 2006 20:13:36 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 61206 invoked by uid 99); 15 Sep 2006 20:13:36 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of marcoshass@gmail.com designates 64.233.162.200 as permitted sender) Received: from [64.233.162.200] (HELO nz-out-0102.google.com) (64.233.162.200) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 13:13:34 -0700 Received: by nz-out-0102.google.com with SMTP id x3so1353416nzd for ; Fri, 15 Sep 2006 13:12:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=CfbHfH03G/hTTYkgenkuuMNGsdbgkdIPBcXPcr/9RhEZush0EEbX8uSTvukmXPneaAlS6h1pJI4s52GJ8ymgDfELeuHGaOG4CMPYGbUvsLHkFM5JLx17twi/JkiCx6Otcv3/MQLSd0Gl+w+Mp+RciB3JUw+G8/v2rIIkUkVuh34= Received: by 10.65.114.11 with SMTP id r11mr5377437qbm; Fri, 15 Sep 2006 13:12:13 -0700 (PDT) Received: by 10.65.110.8 with HTTP; Fri, 15 Sep 2006 13:12:12 -0700 (PDT) Message-ID: Date: Fri, 15 Sep 2006 17:12:13 -0300 From: "Marcos Hass W" To: "Jakarta Commons Users List" Subject: .betwix file assigned to a JDK class MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_258360_31140595.1158351133004" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_258360_31140595.1158351133004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, I have a class that extends java.beans.beancontext.BeanContextChildSupportits name is AbstractBean, below a snippet.: /** JavaBean base respons=E1vel pelos mecanismos de notifica=E7=E3= o de altera=E7=E3o * de propriedades e clonagem. A extens=E3o a partir de BeanContextChildSupport * permite que o bean seja posicionado dentro de um BeanContext e esteja * apto a questionar propriedades existentes em outros beans presentes tamb=E9m no * contexto. * * @author marcos */ public abstract class AbstractBean extends BeanContextChildSupport implements Cloneable, Comparable, Serializable { /** Delegate PropertyChangeSupport respons=E1vel pela notifica= =E7=E3o dos * listeners atentos =E0s altera=E7=F5es nas propriedades do javabean. * * @see * http://java.sun.com/docs/books/tutorial/javabeans/properties/bound.html */ protected transient PropertyChangeSupport changes =3D new PropertyChangeSupport(this); /** Delegate a VetoableChangeSupport respons=E1vel pela notifica=E7=E3o * dos VetoableChangeListeners que ir=E3o escutar os valores alterados * e ir=E3o vetar ou n=E3o a altera=E7=E3o. */ protected transient VetoableChangeSupport vetoable =3D new VetoableChangeSupport(this); /** Constructor de AbstractBean.*/ public AbstractBean() { super(); beanContextChildPeer =3D this; pcSupport =3D new PropertyChangeSupport(beanContextChildPeer); vcSupport =3D new VetoableChangeSupport(beanContextChildPeer); } public AbstractBean(BeanContextChild bcc) { super(); beanContextChildPeer =3D (bcc !=3D null) ? bcc : this; pcSupport =3D new PropertyChangeSupport(beanContextChildPeer); vcSupport =3D new VetoableChangeSupport(beanContextChildPeer); } //... } I have several bean classes that extend AbstractBean and any time I try to submit these extended classes to BeanWriter I get a CyclicReferenceExceptio= n . I've discovered that BeanContextChildSupport has some fields that produce this cyclic problem and for this reason I've associated a AbstractBean.betwixt file to the AbstractBean class as follows: The problem is that I'm still getting the cyclic problem ;-( Does someone know what's wrong ? How do I associate a .betwixt file with the java.beans.beancontext.BeanContextChildSupport class ? Thank you very much Marcos ------=_Part_258360_31140595.1158351133004--