Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 80923 invoked from network); 3 Nov 2004 20:42:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Nov 2004 20:42:27 -0000 Received: (qmail 80859 invoked by uid 500); 3 Nov 2004 20:42:07 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 80826 invoked by uid 500); 3 Nov 2004 20:42:06 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: hivemind-user@jakarta.apache.org Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 80784 invoked by uid 99); 3 Nov 2004 20:42:05 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of david@davidkarlsen.com designates 217.13.8.30 as permitted sender) Received: from [217.13.8.30] (HELO smtp.davidkarlsen.com) (217.13.8.30) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 03 Nov 2004 12:42:04 -0800 Received: from [127.0.0.1] (unknown [192.168.3.51]) by smtp.davidkarlsen.com (Postfix) with ESMTP id D226610283 for ; Wed, 3 Nov 2004 21:41:52 +0100 (CET) Message-ID: <41894281.2090409@davidkarlsen.com> Date: Wed, 03 Nov 2004 21:41:37 +0100 From: "David J. M. Karlsen" User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hivemind-user@jakarta.apache.org Subject: Re: [SPAM] - set a java.lang.Integer inside a construct element - Email has different SMTP TO: and MIME TO: fields in the email addresses References: <000001c4c1b9$86e7b860$6601a8c0@carmani600m> In-Reply-To: <000001c4c1b9$86e7b860$6601a8c0@carmani600m> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N James Carman wrote: >There may not. We ran into this problem before with the java.lang.String >type within a Java Web Start client. There's a bug out there in JIRA for it >and I provided the patch which fixed it. My suggestion was to use the >commons beanutils classes rather than the property editors, but we want to >minimize the dependencies HiveMind has (aside from Javassist, obviously), so >we're sticking with the core JDK classes. We basically short-circuited the >property editor lookup if the target property type was String (as converting >String to String is somewhat trivial). Are you running within a webstart >client? > > No - it's running inside a EJB-container. Not a big problem as I can do a public void setSomeprop(int valueProvidedFromHiveMindFW){ theClassIntegerProp = new Integer(valueProvidedFromHiveMindFW); } BTW: For the automatic-setting to be done - I have to provide setPropertyname methods? Do they absolutely have to be public void and not not private and/or static? HiveMind cannot locate the variables of itself and initialize them? --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org