Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B35D91B0 for ; Sun, 4 Dec 2011 18:46:41 +0000 (UTC) Received: (qmail 84114 invoked by uid 500); 4 Dec 2011 18:46:40 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 84001 invoked by uid 500); 4 Dec 2011 18:46:40 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 83993 invoked by uid 99); 4 Dec 2011 18:46:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2011 18:46:40 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2011 18:46:35 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RXH4o-0001Yb-Us for dev@commons.apache.org; Sun, 04 Dec 2011 10:46:14 -0800 Date: Sun, 4 Dec 2011 10:46:14 -0800 (PST) From: henrib To: dev@commons.apache.org Message-ID: <1323024374938-4157664.post@n4.nabble.com> In-Reply-To: References: Subject: Re: [JEXL] Are users likely to implement the Script interface? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit sebb-2-2 wrote > > Don't know if this is an indication that the unit tests are incomplete > or that there is not really a use case for implementing the interface, > (other than the implementations which are already supplied.) > I don't think anyone would implement the Script interface without deriving / delegating to an ExpressionImpl which is internal (by transitivity from the protected ASTJexlScript member); so it'b be someone trying to extend Jexl capabilities. Jexl being usually featured and used as a glue / joint, JEXL Scripts are usually used as classes members thus implementing Script is very unlikely. I've been working on a redesign of the API for a potential V3 - a fresh and clean API made to be stable but breaking free from the "ancient" Velocity ties - and moved the ExpressionImpl equivalent to an internal package; I'll commit soon in the trunk, tests ok, Checkstyle stuff remains mainly. Cheers, Henrib -- View this message in context: http://apache-commons.680414.n4.nabble.com/JEXL-Are-users-likely-to-implement-the-Script-interface-tp4157600p4157664.html Sent from the Commons - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org