Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 33643 invoked from network); 23 Jan 2006 01:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 01:51:37 -0000 Received: (qmail 35277 invoked by uid 500); 23 Jan 2006 01:51:37 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 35051 invoked by uid 500); 23 Jan 2006 01:51:36 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 35040 invoked by uid 99); 23 Jan 2006 01:51:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2006 17:51:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of trustin@gmail.com designates 66.249.92.201 as permitted sender) Received: from [66.249.92.201] (HELO uproxy.gmail.com) (66.249.92.201) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2006 17:51:33 -0800 Received: by uproxy.gmail.com with SMTP id s2so593027uge for ; Sun, 22 Jan 2006 17:51:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=G4HyuL388wIPlN05OaCuJoMtPkX+8jyj5hcNxlAwL4NxipaS49HCPdBgPEzkKGlGNpCAvJ5sIkkg7Rg22X/CNSfPxhOMPlT4xfuCSxmEsqDBi3H97zYX0vxoosDf5Gd9r/vJc0duTKcKfaxQmUFj8KE1EdPo1mINc4S5PbdYcyY= Received: by 10.49.20.12 with SMTP id x12mr295853nfi; Sun, 22 Jan 2006 17:51:11 -0800 (PST) Received: by 10.49.19.20 with HTTP; Sun, 22 Jan 2006 17:51:11 -0800 (PST) Message-ID: <768dcb2e0601221751w3c1f510di@mail.gmail.com> Date: Mon, 23 Jan 2006 10:51:11 +0900 From: Trustin Lee To: Apache Directory Developers List Subject: Re: [mina] Introducing the New API for 0.9.1. In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13253_6601703.1137981071448" References: <768dcb2e0601220656pd1ec0d9k@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_13253_6601703.1137981071448 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/1/23, Ersin Er : > > I really favor typesafe operations to string based ones. However as I > see the new API uses more string based configuration. We could change IoService throw an exception if any unknown attributes are specified to make sure the safety. For the property values, it checks the value is correct in runtime, so it should be fine if you run the applicatio= n at least once in most cases or run the test case. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ PGP Key ID: 0x854B996C ------=_Part_13253_6601703.1137981071448 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
2006/1/23, Ersin Er <ersin.er@gmail.com>:
I really favor typesafe operations to string based ones. However as I
se= e the new API uses more string based configuration.

We= could change IoService throw an exception if any unknown attributes are sp= ecified to make sure the safety.  For the property values, it checks t= he value is correct in runtime, so it should be fine if you run the applica= tion at least once in most cases or run the test case.

Trustin
--
what we call human nature is actually= human habit
--
http://gleamynode.= net/
PGP Key ID: 0x854B996C ------=_Part_13253_6601703.1137981071448--