aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClaude Brisson <cbrisson@apache.org>2016-07-26 16:11:28 +0000
committerClaude Brisson <cbrisson@apache.org>2016-07-26 16:11:28 +0000
commitfa1c5e1820794e3aa0206d1730343e84db3b0d8e (patch)
treeab749b51b510aca4a207e66b45117613a00d810d /src
parent6f025b12a3cc09cff98ca91fbd0a85c249cb0d54 (diff)
downloadapache-velocity-engine-fa1c5e1820794e3aa0206d1730343e84db3b0d8e.tar.gz
New datatypes conversion framework:
- added the new interface o.a.v.util.introspection.ConversionHandler, and the new 'runtime.conversion.handler' configuration property which let the configuration handler be pluggable. - added a default implementation class o.a.v.util.introspection.ConversionHandlerImpl that will implicitly convert method arguments between all basic Java data types (boolean, numbers, string). - added a new Converter<T> interface to represent converters towards type T - added a public VelMethod.getMethod() getter to ease the work of people customizing introspection - added test case ConversionHandlerTestCase - removed half-finished IntrospectionCache 'pluggability' feature: since IntrospectionCache now needs a ConversionHandler a c'tor argument, made it a concrete class and removed IntrospectionCacheImpl. git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1754151 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/changes/changes.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c3e1c21a..0c1e6ff0 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -28,6 +28,10 @@
<release version="2.0" date="In Subversion">
<action type="add" dev="cbrisson">
+ added a new pluggable ConversionHandler class which, by default, converts method arguments as needed between main basic Java data types (boolean, numbers and strings)
+ </action>
+
+ <action type="add" dev="cbrisson">
added a runtime.string.interning option to trigger Java String interning on or off
</action>