Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 13710 invoked from network); 11 Sep 2007 14:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 14:26:19 -0000 Received: (qmail 35378 invoked by uid 500); 11 Sep 2007 14:26:12 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 35355 invoked by uid 500); 11 Sep 2007 14:26:12 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 35346 invoked by uid 99); 11 Sep 2007 14:26:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 07:26:12 -0700 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 ixjonez@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 14:26:10 +0000 Received: by wa-out-1112.google.com with SMTP id n4so4823730wag for ; Tue, 11 Sep 2007 07:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Ok5sxYl49Va1YDARSVwvtfUTxLVnlCkP85ALbwP4hSc=; b=ag1lC7qdBfWRu4m0x57aBJ/RAZEDyzoymjM+px+H+WxNv6eD4H4hKkcq2/mV4X/bk3yzgEku8E9I8Eejt9/MWqv2CSV6z7j3tllKHjIeB8Hae0g9JAkRnQjgc+Lny8ltl8GOi/RISJwwUHldrKhcNwIwmoN6CL8IJQLuyhj/kPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=dY4+mpmutER8m/o/FcwoLPqMFZmzvR11GU9rexoNL32INYrtYJS9T4288wpGYFJ/8X7H3mLfpPn8T5qgqXCKR+khjPgHSCIYAjiE8f2TTSGge8q+afc4FcB3lfhzuHUdXgL4TOg0/2c4nR8BV7nj2DP9v/lvgJbXLCi++9HRLRI= Received: by 10.140.148.3 with SMTP id v3mr250915rvd.1189520749764; Tue, 11 Sep 2007 07:25:49 -0700 (PDT) Received: by 10.140.164.14 with HTTP; Tue, 11 Sep 2007 07:25:49 -0700 (PDT) Message-ID: <29a761a00709110725na2579f8q2d0967c13b1464d0@mail.gmail.com> Date: Tue, 11 Sep 2007 07:25:49 -0700 From: "Brian Moseley" Sender: ixjonez@gmail.com To: abdera-dev@incubator.apache.org Subject: Re: Resolvers and Providers and URLs In-Reply-To: <46E6178F.6020009@mulesource.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E6178F.6020009@mulesource.com> X-Google-Sender-Auth: cde5154be60d2a16 X-Virus-Checked: Checked by ClamAV on apache.org On 9/10/07, Dan Diephouse wrote: > How are other people handling this? Are people hard coding their URL > strucutre into the actual Provider? Does any one have any ideas on how > to better integrate the two concepts so that I need to need to let both > my resolver and my provider know about the URL structure? i have a helper class that knows about the url structure and is used by both the target resolver and the provider. one sort of blue sky idea is to annotate each provider method with a url pattern and then have abdera process those annotations and build a mapping of method+provider to url pattern that can be used by a generic target resolver. this sort of re-casts the provider as a per-resource helper object, which is how i've wound up using it anyway.