Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1651873F4 for ; Sun, 30 Oct 2011 07:09:41 +0000 (UTC) Received: (qmail 94505 invoked by uid 500); 30 Oct 2011 07:09:39 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 94320 invoked by uid 500); 30 Oct 2011 07:09:39 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 94312 invoked by uid 99); 30 Oct 2011 07:09:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2011 07:09:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simone.tripodi@gmail.com designates 209.85.213.43 as permitted sender) Received: from [209.85.213.43] (HELO mail-yw0-f43.google.com) (209.85.213.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2011 07:09:32 +0000 Received: by ywp17 with SMTP id 17so8236788ywp.30 for ; Sun, 30 Oct 2011 00:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=mL66wvO0bbLhfQFin+0Ob4QUXmEWzcqBseMOSN4U32c=; b=Q7aNrcrQhjy2XZZDJZcrrSc8nPI9DhGvJ51B7OMNNk/3zyzBnSzCCPi2GXQPhKflki 7aonRg9EcMC1oCtY+R25McWAg3TSzQEH8AuHfQuPbwEbNDh6u8WYSVTxQy3IcB3k4KTt kvgcLD1felAAAmU9tdrpuyqHmCRwF+n3X4Zdg= MIME-Version: 1.0 Received: by 10.150.163.14 with SMTP id l14mr7734482ybe.15.1319958551152; Sun, 30 Oct 2011 00:09:11 -0700 (PDT) Sender: simone.tripodi@gmail.com Received: by 10.150.51.15 with HTTP; Sun, 30 Oct 2011 00:09:11 -0700 (PDT) In-Reply-To: References: Date: Sun, 30 Oct 2011 08:09:11 +0100 X-Google-Sender-Auth: 8RtUvvzkSsoQCzzyDhyuuSZamsY Message-ID: Subject: Re: Enumeration value to a method call From: Simone Tripodi To: Commons Users List Content-Type: text/plain; charset=UTF-8 Hi Luciano, first, I suggest you prefixing your messages with the component id, [digester] in this case, otherwise you risk nobody pays attention to your mail ;) Can you give me a more wide overview of your case please? Your scenario it's not so clear to me and I cannot give you more hints. TIA, all the best, Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Sun, Oct 30, 2011 at 2:26 AM, Luciano Greiner wrote: > Hello. > > I have the following situation for a method call: > > if "/batchX" found, create a BatchInput.class object and call setType > method on that passing an enumeration value as the only parameter. > > The only way i found to perform this so far is by creating an > ObjectFactory class to create the target object and set the property > manually. > > Is there any other way to pass the enumeration value so digester uses > it on a method call? > > Thank you > > Luciano > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org