- 03 3月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Latest dependency updates (HttpClient 4.4, TestNG 6.8.21, SnakeYAML 1.15, FreeMarker 2.3.22, JRuby 1.7.19, JAMon 2.81, JiBX 1.2.6, XMLUnit 1.6, JsonPath 1.2)
-
- 02 3月, 2015 3 次提交
-
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
Revert cdc04e55 now that animal sniffer 1.1.4 is available.
-
由 Stephane Nicoll 提交于
-
- 01 3月, 2015 6 次提交
-
-
由 Sam Brannen 提交于
This commit simplifies the implementations of loadBeanDefinitions() in GenericGroovyXmlContextLoader and GenericGroovyXmlWebContextLoader. Due to the recent bug fix for GroovyBeanDefinitionReader regarding full support for XML config files, these Groovy context loaders can now simply use a GroovyBeanDefinitionReader instead of a GroovyBeanDefinitionReader plus an XmlBeanDefinitionReader. Issue: SPR-12769
-
由 Sam Brannen 提交于
Prior to this commit, the GroovyBeanDefinitionReader claimed (via its Javadoc) that it fully supported XML configuration files in addition to its Groovy DSL; however, this was unfortunately inaccurate since XML validation was disabled by default which led to certain features of XML configuration not working. For example, it was impossible to define a <qualifier> in an XML config file without specifying the 'type' attribute (which has a default value defined in the spring-beans XSD). This commit fixes this issue by ensuring that bean definitions in XML resources are loaded with a "standard" XmlBeanDefinitionReader that is created with default settings (i.e., with XML validation enabled). With regard to backwards compatibility, bean definitions defined using the Groovy DSL are still loaded with an XmlBeanDefinitionReader that has XML validation disabled by default which is necessary for proper parsing of the Groovy DSL. Issue: SPR-12769
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, it was impossible to use all features of XML configuration (e.g., the <qualifier> tag) in web-based integration tests (loaded using @WebAppConfiguration, @ContextConfiguration, etc.) if the Groovy library was on the classpath. The reason is that the GroovyBeanDefinitionReader used internally by GenericGroovyXmlWebContextLoader disables XML validation for its internal XmlBeanDefinitionReader, and this prevents some XML configuration features from working properly. For example, the default value for the 'type' attribute (defined in the spring-beans XSD) of the <qualifier> tag gets ignored, resulting in an exception when the application context is loaded. This commit addresses this issue by refactoring the implementation of loadBeanDefinitions() in GenericGroovyXmlWebContextLoader to use an XmlBeanDefinitionReader or GroovyBeanDefinitionReader depending on the file extension of the resource location from which bean definitions should be loaded. This aligns the functionality of GenericGroovyXmlWebContextLoader with the existing functionality of GenericGroovyXmlContextLoader. Issue: SPR-12768
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, the implementation of equals() in EncodedResource was based solely on the resource and encoding. Thus, if a Charset were specified instead of an encoding, invocations of equals() would not work as expected. This commit addresses this issue by including the charset in the implementation of equals() and introducing corresponding tests in a new EncodedResourceTests class. Furthermore, this commit makes EncodedResource immutable and updates all Javadoc to reflect support for the encoding and charset properties. Issue: SPR-12767
-
- 28 2月, 2015 16 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-12766
-
由 Sam Brannen 提交于
Issue: SPR-12752
-
由 Juergen Hoeller 提交于
-
由 Sam Brannen 提交于
Issue: SPR-12752
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12705
-
由 Juergen Hoeller 提交于
Protected handleResponse method replaces former private logResponseStatus/handleResponseError methods. Issue: SPR-12760
-
由 Sam Brannen 提交于
- classes now compiled with `-parameters` - formatting for lambda expressions - formatting for type annotations
-
由 Sam Brannen 提交于
To eliminate code duplication, ScriptStatementFailedException and ScriptUtils now delegate to a new buildErrorMessage() utility method. Issue: SPR-12752
-
由 Sam Brannen 提交于
This commit ensures Resources have consistent, non-empty, meaningful implementations for getDescription(), thus ensuring that calls to toString() (e.g., in log statements) no longer return an empty String. This commit also polishes the Javadoc for various Resource implementations.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
ScriptStatementFailedException now properly refers to statement numbers instead of line numbers. Issue: SPR-12752
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Arjen Poutsma 提交于
Added connectTimeout and readTimeout properties to the Netty4ClientHttpRequestFactory. Issue: SPR-12612
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12735
-
- 27 2月, 2015 7 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12739
-
由 Juergen Hoeller 提交于
Issue: SPR-12755
-
由 Juergen Hoeller 提交于
Issue: SPR-12758
-
由 Juergen Hoeller 提交于
Issue: SPR-12748
-
由 Brian Clozel 提交于
Issue: SPR-12747
-
由 Rossen Stoyanchev 提交于
-
- 26 2月, 2015 7 次提交
-
-
由 Brian Clozel 提交于
Prior to this change, location checks for serving resources would append `/` to the location path it didn't already have one. This commit makes sure not to append a `/` if the provided location is actually a file. Issue: SPR-12747
-
由 Stephane Nicoll 提交于
* pull745: Provide accessors to scheduled tasks
-
由 Tobias Montagna-Hay 提交于
Updated ScheduledTaskRegistrar to offer accessors to the tasks it is responsible to schedule. Issue: SPR-12748
-
由 Stephane Nicoll 提交于
Reduce logging level when no target annotation is found a on bean. For consistency, update ScheduledAnnotationBeanPostProcessor and JmsListenerAnnotationBeanPostProcessor that define the same log statement. Issue: SPR-12574
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12751
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12744
-