[
https://issues.apache.org/jira/browse/JEXL-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739278#action_12739278
]
Henri Biestro commented on JEXL-63:
-----------------------------------
About exposing features to the ScriptFactory, may be we could use properties (a
jexl.conf) that would define the lenient, silent flags as well as cache sizes:
jexl.scripting.lenient = true
jexl.scripting.cache = 512
etc...
May be even also describe through FQCNs deriving from JexlEngine, Uberspect &
JexlArithmetic the different instances to be used as in:
jexl.scripting.engine = my.own.class.of.jexlengine
jexl.scripting.uberspect =
org.apache.commons.jexl.util.introspection.UberspectImpl
etc...
Same for function namespaces:
jexl.scripting.namespace.math = some.math.class
jexl.scripting.namespace.string = some.string.utiliy.class
We should have enough introspective capabilities around to implement those. :-)
This would allow to customize Jexl for a given purpose and use jsr-223 to
expose it.
> JSR-223 support
> ---------------
>
> Key: JEXL-63
> URL: https://issues.apache.org/jira/browse/JEXL-63
> Project: Commons JEXL
> Issue Type: New Feature
> Reporter: Henri Biestro
> Fix For: 2.0
>
>
> JSR-223 support (through BSF 3.0b2 for JDK < 6)
> http://www.nabble.com/-JEXL--2.0-JSR-223-initial-implementation-added---what-next--tt24750307.html
> http://www.nabble.com/-JEXL--2.0-and-BSF---JSR-223-tt24706519.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.