|
From: Juergen H. <ju...@in...> - 2005-02-16 19:20:47
|
Everybody,
I've committed lots of minor fixes and enhancements that I've implemented in
the past two weeks (most of them driven by JIRA issues). See the changelog
for details. The most important changes are:
* I've added a "getBeanNamesForType" method to the ListableBeanFactory
interface, also checking FactoryBeans and manual singletons (in contrast to
"getBeanDefinitionNames"). This is an alternative to "getBeansOfType" that
avoids creating prototype instances (assuming that all that is needed are
the names).
* TransactionSynchronization objects can influence their execution order
through implementing the Ordered interface. This is used to always perform
JDBC Connection cleanup last, for example after Hibernate Session cleanup
(if any), and to always perform LobCreator cleanup first (while the JDBC
Connection is still active).
* I've introduced the C3P0 0.8.5 ComboPooledDataSource as connection pool
for Image Database, to show an alternative to Commons DBCP. I've also added
a C3P0NativeJdbcExtractor for C3P0 0.8.5 and later; for earlier C3P0
versions, SimpleNativeJdbcExtractor is sufficient.
* I've upgraded MockHttpServletRequest to Servlet API 2.4 and
MockPageContext to JSP API 2.0. An enhancement enabled by compiling against
JSP 2.0 is that JSP EL expressions in Spring's JSP tags will be parsed with
the JSP 2.0 ExpressionEvaluator on JSP 2.0, falling back to Jakarta JSTL for
earlier JSP versions.
* I've reworked JasperReportsMultiFormatView, in particular the
initialization code. I've also renamed its "discriminatorKey" property to
"formatKey", as a more expressive name and following the
AbstractJasperReportsView naming conventions ("reportDataKey" etc).
Note that because of the upgrade to Servlet 2.4 and JSP 2.0, servlet.jar has
been replaced with servlet-api.jar and jsp-api.jar. I've also upgraded EJB
to 2.1 to raise all versions to J2EE 1.4, having replaced EJB 2.0's ejb.jar
with EJB 2.1's ejb-api.jar. I've adapted all references that I could find
(build.xml etc).
Juergen
|