- 16 5月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10568
-
- 15 5月, 2013 14 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-10374
-
由 Juergen Hoeller 提交于
Issue: SPR-10546 (cherry picked from commit 6e4317eb)
-
由 Rob Winch 提交于
Previously ConfigurationClassParser could override a nested @Configuration without consideration of @Bean's defined in parent classes. This commit ensures that if the original ConfigurationClass contains additional bean definitions it is processed again. Issue: SPR-10546 (cherry picked from commit 940011e2)
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10398
-
由 Rossen Stoyanchev 提交于
Commit 5b1165 was an attempt to leave semicolon content in the URL path while ignoring it for request mapping purposes. However, it becomes quite difficult to manage and semicolon content should not always be ignored (sometimes a semicolon is used as a separator of multiple items in a path segment, rather than for matrix variables). This change effectively reverts back to the original approach in 3.2 where a flag on AbstractHandlerMapping can be used to have semicolon content removed or kept. If kept, path segments with matrix variables must be represented with a path segment. The main difference is that by default it is removed everywhere including the MVC namespace and Java config. Issue: SPR-10427, SPR-10234
-
由 Rossen Stoyanchev 提交于
Previously DeferredResult locked around the setting of the result including handling up to the part of submitting a dispatch. This can cause a deadlock if a timeout occurs at the same time since the Tomcat timeout thread has its own locking that permits only one thread to do timeout or dispatch processing. The fix reduces the locking to cover only the attempt to set the DeferredResult but not the dispatching. Issue: SPR-10485
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-10556
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rob Winch 提交于
-
- 14 5月, 2013 5 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
This change should be the final piece in the puzzle to let SmartInstantiationAwareBeanPostProcessor's predictBeanType predict a FactoryBean-produced type, effectively as a semantic alternative to its postProcessBeforeInstantiation-related role. Issue: SPR-10517
-
由 Juergen Hoeller 提交于
Issue: SPR-10559
-
由 Rob Winch 提交于
-
由 Rob Winch 提交于
Issue: SPR-10130
-
- 11 5月, 2013 5 次提交
-
-
由 Rossen Stoyanchev 提交于
Spring 3.2.2 introduced a change to avoid closing the response stream in HttpMessageConverters (SPR-10095). However, the InputStream of resources being written, for example as part of a multi-part request should be closed. This change ensures that. Issue: SPR-10460
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
Adding overloaded constructors for URI specification to UrlResource, as a convenience. Issue: SPR-10471
-
由 Rossen Stoyanchev 提交于
This is a minor fix with no actual impact. Issue: SPR-10504
-
由 Rossen Stoyanchev 提交于
If type conversion turns an empty request parameter value (i.e. "") to null, we should treat it as a missing value. By default the ConversionService doesn't change empty strings and therefore one must explicitly convert them to null for example by registering a StringTrimmerEditor with emptyAsNull=true. Issue: SPR-10402
-
- 10 5月, 2013 6 次提交
-
-
由 Rossen Stoyanchev 提交于
A recent change in FormTag to prepend the context and servlet paths if not present, causes issues when used in portlet applications. This change introduces a servletRelativeAction form tag attribute that must be used for the context and servlet paths to be prepended. Issue: SPR-10382
-
由 Rossen Stoyanchev 提交于
Previously ContentNegotiationManager continued with the next ContentNegotiationStrategy only if the current one returned an empty list. Now it also does that if the current ContentNegotiationStrategy returns "*/*". Since the absence of an Accept header and "*/*" have the same meaning, this allows a default content type to be used in either case. Issue: SPR-10513
-
由 Rossen Stoyanchev 提交于
@InitBinder and @ModelAttribute methods in @ControllerAdvice classes are now invoked first, allowing any such methods in the @Controller class to override them. Issue: SPR-10419
-
由 Juergen Hoeller 提交于
Issue: SPR-10307
-
由 Phillip Webb 提交于
Refactor ConfigurationClassEnhancer so that BeanFactory instances are not held against CGLIB Callback objects. Enhanced @Configuration classes now use the BeanFactoryAware interface in order to obtain a BeanFactory. This change has the additional benefit that a static final field can now be used to hold all Callback instances. Issue: SPR-10307
-
由 Phillip Webb 提交于
Change ContextHierarchyDirtiesContextTests to obtain beans whilst the ApplicationContext is still open, rather than trying to obtain them after the context has been closed.
-
- 09 5月, 2013 9 次提交
-
-
由 Phillip Webb 提交于
* SPR-10534: Add support for DeferredImportSelector Support for @Conditional configuration Extend AnnotationMetadata and MethodMetadata
-
由 Phillip Webb 提交于
Add DeferredImportSelector interface that can be used to select imports after all @Configuration beans have been processed.
-
由 Phillip Webb 提交于
Introduce new @Conditional annotation that can be used to filter which @Configuration classes or methods are loaded. @Conditional can be used directly or as a meta-annotation. Condition implementations are provided via the 'Condition' interface and are free to filter based on any criteria available at the time that they run. The ConditionalContext provides access to the BeanDefinitionRegistry, Environment and ConfigurableListableBeanFactory along with a ResourceLoader and ClassLoader. The existing @Profile annotation has been refactored as a @Conditional with the added benefit that it can now be used as a method level annotation.
-
由 Phillip Webb 提交于
Update AnnotationMetadata and MethodMetadata to extend from a new AnnotatedTypeMetadata base interface containing the methods that are common to both. Also introduce new getAllAnnotationAttributes methods providing MultiValueMap access to both annotation and meta-annotation attributes. Existing classreading and standard implementations have been refactored to support the new interface.
-
由 Phillip Webb 提交于
Add PropertySourcesPlaceholderConfigurer.getAppliedPropertySources() to allow access to the PropertySources that were actually applied. Issue: SPR-10545
-
由 Phillip Webb 提交于
Allow ClassPathContextResource to be accessed by subclasses of DefaultResourceLoader. Issue: SPR-10544
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
Update ServletContextAwareProcessor to allow subclasses to support late binding of the ServletConfig and/or ServletContext. Allows for the post-processor to be registered before the servlet environment has been initialized. Issue: SPR-10381
-
由 Phillip Webb 提交于
Change FrameworkServlet so that it can also be used as a bean within an existing ApplicationContext. Primarily added to support use with embedded servlet containers where Spring bootstraps the servlet container, rather than the servlet container bootstrapping Spring. Issue: SPR-10381
-