Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 46996 invoked from network); 6 May 2005 18:26:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 May 2005 18:26:17 -0000 Received: (qmail 35310 invoked by uid 500); 6 May 2005 18:28:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 34953 invoked by uid 500); 6 May 2005 18:28:25 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 34748 invoked by uid 99); 6 May 2005 18:28:22 -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: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 11:28:21 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DU7O7-0005OG-13 for dev@cocoon.apache.org; Fri, 06 May 2005 20:17:23 +0200 Received: from srvgw12.rauser-ag.com ([217.146.133.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 May 2005 20:17:23 +0200 Received: from joerg.heinicke by srvgw12.rauser-ag.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 May 2005 20:17:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Joerg Heinicke Subject: Re: Component vs. ComponentSelector (or Service vs. ServiceSelector) Date: Fri, 6 May 2005 18:15:12 +0000 (UTC) Lines: 14 Message-ID: References: <427B9DD0.4010400@reverycodes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.146.133.165 (Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.7) Gecko/20050414 Firefox/1.0.3) Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vadim Gritsenko reverycodes.com> writes: > > Hello, > > > > whenever I try to lookup my component I get a ClassCastException when I want > > to cast it to the component's class. > > Does your component implementation implements Component interface? Try if it > does not. Of course (it did not, does now and works now)! Sometimes it is so easy. Thank you very much. Joerg