Return-Path: Delivered-To: apmail-jakarta-tapestry-user-archive@www.apache.org Received: (qmail 52198 invoked from network); 2 Sep 2005 06:28:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Sep 2005 06:28:26 -0000 Received: (qmail 26219 invoked by uid 500); 2 Sep 2005 06:28:22 -0000 Delivered-To: apmail-jakarta-tapestry-user-archive@jakarta.apache.org Received: (qmail 26206 invoked by uid 500); 2 Sep 2005 06:28:22 -0000 Mailing-List: contact tapestry-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tapestry users" Reply-To: "Tapestry users" Delivered-To: mailing list tapestry-user@jakarta.apache.org Received: (qmail 26193 invoked by uid 99); 2 Sep 2005 06:28:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 23:28:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 203.187.179.123 is neither permitted nor denied by domain of Jun.Tsai@gmail.com) Received: from [203.187.179.123] (HELO localhost) (203.187.179.123) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 23:28:35 -0700 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 9F3EB32C35 for ; Fri, 2 Sep 2005 14:39:02 +0800 (CST) Message-ID: <4317F386.1030201@gmail.com> Date: Fri, 02 Sep 2005 14:39:02 +0800 From: Jun Tsai User-Agent: Debian Thunderbird 1.0.2 (X11/20050817) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tapestry users Subject: Re: @InjectObject spring beans proxyed with Spring-AOP problem. References: <4317EAA2.2070405@gmail.com> In-Reply-To: <4317EAA2.2070405@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I find if I use @InjectObject("spring:testService") public abstract ITestService getTestService(); It throws a java.lang.IllegalArgumentException: argument type mismatch. If I use @InjectObject("spring:testService") public abstract Object getTestService(); I works great. What's happen? Who can tell me ? Thanks . Jun Tsai --------------------------------------------------------------------- To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tapestry-user-help@jakarta.apache.org