Return-Path: Delivered-To: apmail-incubator-sling-dev-archive@minotaur.apache.org Received: (qmail 97792 invoked from network); 3 Jun 2009 11:15:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jun 2009 11:15:41 -0000 Received: (qmail 69349 invoked by uid 500); 3 Jun 2009 11:15:53 -0000 Delivered-To: apmail-incubator-sling-dev-archive@incubator.apache.org Received: (qmail 69280 invoked by uid 500); 3 Jun 2009 11:15:53 -0000 Mailing-List: contact sling-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: sling-dev@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list sling-dev@incubator.apache.org Received: (qmail 69270 invoked by uid 99); 3 Jun 2009 11:15:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 11:15:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ianboston@googlemail.com designates 209.85.218.171 as permitted sender) Received: from [209.85.218.171] (HELO mail-bw0-f171.google.com) (209.85.218.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 11:15:43 +0000 Received: by bwz19 with SMTP id 19so8622515bwz.12 for ; Wed, 03 Jun 2009 04:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=XDMX3e28u85CMWDcFyKpq3QzJt9AE6xeoWstgZl4IVg=; b=srotYAd74Chnp+WvDmdheP1o4RmxpCKbb5bXZn83mbV8QPYPXFgftg0ZczL6twE8zZ Jhd3YQ6lM4QnOUHEhITUneLIc5KE0xvHyiQu4nBry4m5FknNJHQaANNxtZfdETFISPXQ 19oiPAfuH1V+2eFSMWVFMlqnTELTWsuzipfuc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=qTRQTVFZ+knVmqA6thRx5UZp04zlycqIEi6diU0Nyyx07TmeZLs/aKNGbKua18JZnh iZZx1yo6Sf/I9RfDGePrziEyAhMnxjcbcWfCWYhMsSgIKduww5RqRX7S9Z9j5wGifsyS hnaU5SXFHN6Jv5EWkC0DC6ySXd8q16RXve+nc= Received: by 10.103.223.2 with SMTP id a2mr499605mur.88.1244027720981; Wed, 03 Jun 2009 04:15:20 -0700 (PDT) Received: from ?192.168.115.101? (cpc6-papw1-0-0-cust601.cmbg.cable.ntl.com [86.1.46.90]) by mx.google.com with ESMTPS id t10sm627277muh.30.2009.06.03.04.15.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 04:15:20 -0700 (PDT) Sender: Ian Boston Message-Id: <16886A87-A0C9-4E58-BAF2-F39A836BF23B@tfd.co.uk> From: Ian Boston To: sling-dev@incubator.apache.org In-Reply-To: <4A263EE5.9040102@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: Binding to a resource Type Date: Wed, 3 Jun 2009 12:15:18 +0100 References: <503446A1-E817-4AF4-845A-68F70C01532F@tfd.co.uk> <4A260ADA.4050901@gmail.com> <9B340F2E-3CD1-4F38-A5A0-52FA69A27D32@tfd.co.uk> <4A2633C9.5040706@gmail.com> <36444DD7-E3BA-4A0A-AA87-9873D9F4D430@tfd.co.uk> <4A263EE5.9040102@gmail.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org I have pushed a patch for inspection at http://codereview.appspot.com/67146 Is this along the lines you were thinking ? Ian On 3 Jun 2009, at 10:14, Felix Meschberger wrote: > It might be conceivable though to set the resourceSuperType of such > non-existing resources to something configurable. To do this I would > suggest to introduce a new service interface, which would be called > when > the ResourceResolver is about to create the NonExistingResource