- 29 7月, 2014 10 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
This change splits out a base VersionPathStrategy interface that focuses on where in the URL path the version is embedded.
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12042
-
由 Juergen Hoeller 提交于
Split configuration constants into local XConfigUtils classes instead of piling them up in AnnotationConfigUtils
-
由 Sam Brannen 提交于
This commit updates the Javadoc for getLocale() and getLocales() in MockHttpServletRequest to point out that the mock implementation does not comply with the the Servlet specification with regard to the Accept-Language header. Issue: SPR-12043
-
由 Sam Brannen 提交于
This commit updates the class-level Javadoc for MockHttpServletRequest with information regarding the default locale for the mocked server. Issue: SPR-11701
-
- 28 7月, 2014 4 次提交
-
-
由 Sam Brannen 提交于
If a resource location in the MergedContextConfiguration has a ".xml" extension, the GenericGroovyXmlContextLoader now delegates to a dedicated XmlBeanDefinitionReader for loading bean definitions from that resource, thus preserving XML validation for all XML resource locations. For all other extensions (presumably only ".groovy"), the GenericGroovyXmlContextLoader delegates to a GroovyBeanDefinitionReader. Issue: SPR-11233
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
JmsListener/ScheduledAnnotationBeanPostProcessor uses SmartInitializingSingleton instead of ContextRefreshedEvent Also reducing the container dependencies to BeanFactory instead of ApplicationContext, wherever possible. Issue: SPR-12039
-
由 Stephane Nicoll 提交于
This commit updates JmsMessagingTemplate to support the MessageRequestReplyOperation interface that provides synchronous request/reply operations. As JmsMessagingTemplate delegates everything under the scenes to JmsTemplate, the latter has been updated as well to offer such lower level operation. Issue: SPR-12037
-
- 26 7月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
This change creates an AbstractTyrusRequestUpgradeStrategy shared between the WebLogic and GlassFish sub-classes. The version of Tyrus is lowered to 1.3.5 to match the version used in WebLogic (12.1.3) and that in turn requires a little extra effort in the base AbstractTyrusRequestUpgradeStrategy to make up for changes that have taken place from Tyrus 1.3.5 to 1.7. Issue: SPR-11293
-
- 25 7月, 2014 5 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 24 7月, 2014 15 次提交
-
-
由 Stephane Nicoll 提交于
-
由 Sam Brannen 提交于
* SPR-11233: Support Groovy scripts in the TCF
-
由 Sam Brannen 提交于
Spring Framework 4.0 introduced first-class support for a Groovy-based DSL for defining the beans for an ApplicationContext. However, prior to this commit, the Spring TestContext Framework (TCF) did not provide any out-of-the-box support for using Groovy scripts as path-based resource locations when loading an application context for tests. This commit addresses this issue by introducing first-class support for using Groovy scripts to load the ApplicationContext for integration tests managed by the TCF. Specifically, the following changes have been made in the TCF to support Groovy scripts. - Introduced getResourceSuffixes() in AbstractContextLoader in order to support multiple resource suffixes in the default detection process. This feature is used by the new Groovy/Xml context loaders. - Introduced GenericGroovyXmlContextLoader and GenericGroovyXmlWebContextLoader which support both Groovy scripts and XML config files for loading bean definitions. Furthermore, these loaders support "-context.xml" and "Context.groovy" as resource suffixes when detecting defaults. Note that a default XML config file will be detected before a default Groovy script. - DelegatingSmartContextLoader and WebDelegatingSmartContextLoader now use reflection to choose between using GenericGroovyXmlContextLoader and GenericGroovyXmlWebContextLoader vs. GenericXmlContextLoader and GenericXmlWebContextLoader as their XML loaders, depending on whether Groovy is present in the classpath. - Groovy scripts can be configured via the 'locations' or 'value' attributes of @ContextConfiguration and can be mixed seamlessly with XML config files. Issue: SPR-11233
-
由 Juergen Hoeller 提交于
Issue: SPR-12020
-
由 Rossen Stoyanchev 提交于
This change provides WebSocket support for the upcoming Glassfish 4.0.1 release while at the same dropping support for Glassfish 4.0 due to incompatible changes. Issue: SPR-11094
-
由 Rossen Stoyanchev 提交于
This change ensures proper initialization of a WebSocketExtension from a JSR-356 Extension. This is in preparation for SPR-11094
-
由 Rossen Stoyanchev 提交于
Before this change the DefaultHandshakeHandler by default passed the list of requested WebSocket extensions as-is relying on the WebSocket engine to remove those not supported. This change ensures that WebSocket extensions not supported by the runtime are proactively removed instead. This change is preparation for SPR-11094.
-
由 Juergen Hoeller 提交于
Issue: SPR-12026
-
由 Sam Brannen 提交于
- Formatting - Suppress warnings - Remove unused imports
-
由 Juergen Hoeller 提交于
Issue: SPR-12018
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12018
-
由 Stephane Nicoll 提交于
The latest build preview of jdk 1.8.0_20 does not exhibit the problem anymore. Issue: SPR-11973
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
This commit fixes a potential NPE when determining the priority of a bean instance in case multiple candidates exist and no bean was marked as @Primary Issue: SPR-12024
-
- 23 7月, 2014 5 次提交
-
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Brian Clozel 提交于
This change adds a new HttpMessageConverter supporting Google protocol buffers (aka Protobuf). This message converter supports the following media types: * application/json * application/xml * text/plain * text/html (output only) * and by default application/x-protobuf Note, in order to generate Proto Message classes, the protoc binary must be available on your system. Issue: SPR-5807/SPR-6259
-