Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 69748 invoked by uid 500); 10 Jul 2003 14:49:03 -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 69716 invoked from network); 10 Jul 2003 14:49:02 -0000 Received: from unknown (HELO erbium.wyona.ch) (195.226.6.68) by daedalus.apache.org with SMTP; 10 Jul 2003 14:49:02 -0000 Received: from gate.wyona.com ([195.226.6.75] helo=apache.org) by erbium.wyona.ch with esmtp (Exim 3.35 #1 (Debian)) id 19acjI-0002lr-00 for ; Thu, 10 Jul 2003 16:49:04 +0200 Message-ID: <3F0D7C46.7040208@apache.org> Date: Thu, 10 Jul 2003 16:46:30 +0200 From: Andreas Hartmann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Getting ServiceSelector instead of ComponentSelector Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Cocoon developers, I define a component selector in my roles file: ... and set it up in cocoon.xconf: But when I try to get the selector in my Java class, I get an org.apache.avalon.framework.service.WrapperServiceSelector instead of the ExcaliburComponentSelector. Can anyone tell me how to avoid this? Is it because my client object is a Serviceable and not a Composable? BTW, which class should one use as the default ServiceSelector instead of the ExcaliburComponentSelector that depends on the deprecated ComponentSelector? Thanks in advance! Andreas