[
https://issues.apache.org/jira/browse/SCXML-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811628#comment-13811628
]
Woonsan Ko commented on SCXML-175:
----------------------------------
It is possible now due to the fix in SCXML-114. To add more custom JEXL
functions, you can now override JexlEvaluator#createJexlEngine().
> Allow to inject custom JEXL functions in JexlEvaluator
> ------------------------------------------------------
>
> Key: SCXML-175
> URL: https://issues.apache.org/jira/browse/SCXML-175
> Project: Commons SCXML
> Issue Type: Improvement
> Reporter: Woonsan Ko
> Assignee: Woonsan Ko
> Fix For: 2.0
>
>
> Currently JexlEvaluator creates a singleton JexlEngine instance as
> recommended in [1], and it injects the built-in function now.
> However it is not possible to inject custom namespaced JEXL functions [2].
> I think it is good to allow injection of custom JEXL namespaced function in
> JexlEvaluator somehow.
> [1] http://commons.apache.org/proper/commons-jexl/reference/examples.html
> [2]
> http://commons.apache.org/proper/commons-jexl/reference/syntax.html#Functions
--
This message was sent by Atlassian JIRA
(v6.1#6144)