Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 87081 invoked from network); 23 Nov 2004 18:34:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Nov 2004 18:34:19 -0000 Received: (qmail 41738 invoked by uid 500); 23 Nov 2004 18:34:07 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 41700 invoked by uid 500); 23 Nov 2004 18:34:06 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 41684 invoked by uid 99); 23 Nov 2004 18:34:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [64.14.202.141] (HELO mgd.gluecode.com) (64.14.202.141) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 10:34:06 -0800 Received: from [10.0.1.5] (ca-stmnca-cuda2-blade8b-82.stmnca.adelphia.net [68.65.226.82]) (authenticated bits=0) by mgd.gluecode.com (8.12.10/8.12.10) with ESMTP id iANIXtCW003035 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Tue, 23 Nov 2004 10:33:56 -0800 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3DBAD211-3D7E-11D9-B78A-000D93C5B79C@gluecode.com> Content-Transfer-Encoding: 7bit From: Dain Sundstrom Subject: Re: net.sf.cglib.core.CodeGenerationException: what does usually mean Date: Tue, 23 Nov 2004 10:33:59 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Nov 23, 2004, at 10:11 AM, Aaron Mulder wrote: > On Tue, 23 Nov 2004, Dain Sundstrom wrote: >> ... >> It is acceptable for if GBean does not implement all of the interface >> methods as long as you never call the unimplemented methods. > > Is that really a "feature"? I consider it a feature, but that doesn't mean we should keep it. It is there so you can adapt older components to gbeans easier. For example, if you can create an interface for several components and not call some of the methods you *know* are not implemented. The obvious question is how do you *know*, in 77 they have lots of methods like is StatisticsProvider. If the bean is a statics provider then you know that it has a getStatistics method. Alternatively, your code could use the GBeanInfo to figure out what methods are useful. Anyway, I don't sure anyone is using this feature, so if everyone finds it is more confusing then, then I vote +1 to remove it. -dain