Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44F0410B7B for ; Thu, 5 Dec 2013 18:14:36 +0000 (UTC) Received: (qmail 68315 invoked by uid 500); 5 Dec 2013 18:14:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 68233 invoked by uid 500); 5 Dec 2013 18:14:35 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 68224 invoked by uid 99); 5 Dec 2013 18:14:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 18:14:35 +0000 Date: Thu, 5 Dec 2013 18:14:35 +0000 (UTC) From: "Woonsan Ko (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SCXML-183) Expose JexlEngine strict/silent mode settings through the JexlEvaluator for easier customization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SCXML-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840335#comment-13840335 ] Woonsan Ko edited comment on SCXML-183 at 12/5/13 6:12 PM: ----------------------------------------------------------- Thanks for the nice improvement! I have a question on the change: if it is deserialized, then jexlEngine is null and it will recreated later as requested. In this case, the strict/silent options settings seem to be lost. So maybe wouldn't it be better to have the options setting code in #createJexlEngine() as well? was (Author: woon_san): Thanks for the nice improvement! I have a question on the change: if it is deserialized, then jexlEngine is null and it will recreated later as requested. In this case, the strict/silent options settings seem to be lost. So maybe wouldn't it be better to move the options setting code into #createJexlEngine() instead of the current setters? > Expose JexlEngine strict/silent mode settings through the JexlEvaluator for easier customization > ------------------------------------------------------------------------------------------------- > > Key: SCXML-183 > URL: https://issues.apache.org/jira/browse/SCXML-183 > Project: Commons SCXML > Issue Type: Improvement > Affects Versions: 2.0 > Reporter: Ate Douma > Assignee: Ate Douma > Fix For: 2.0 > > > Currently the JexlEvaluator creates the JexlEngine with mostly default settings. > The JexlEvaluator class can be extended to override the createEngine method and thus allows custom configurations, but this is less convenient. > Especially the JexlEngine strict/silent mode settings are important with regard to its internal behavior. > By exposing these settings through the JexlEvaluator it no longer is needed to extend to control these settings. -- This message was sent by Atlassian JIRA (v6.1#6144)