1. 15 5月, 2013 3 次提交
  2. 14 5月, 2013 5 次提交
  3. 11 5月, 2013 5 次提交
  4. 10 5月, 2013 6 次提交
    • R
      Add servletRelativeAction form tag attribute · c0cacfcd
      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
      c0cacfcd
    • R
      Improve default content type selection · aaded7e3
      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
      aaded7e3
    • R
      Invoke global, then local @InitBinder/@ModelAttribute · 78fcd283
      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
      78fcd283
    • J
      64055519
    • P
      Make @Configuration classes thread-safe · 30b21a98
      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
      30b21a98
    • P
      Update ...DirtiesContextTests to get beans early · 8b904102
      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.
      8b904102
  5. 09 5月, 2013 9 次提交
    • P
      Merge branch 'SPR-10534' · 3126a4cf
      Phillip Webb 提交于
      * SPR-10534:
        Add support for DeferredImportSelector
        Support for @Conditional configuration
        Extend AnnotationMetadata and MethodMetadata
      3126a4cf
    • P
      Add support for DeferredImportSelector · 7c7fdb07
      Phillip Webb 提交于
      Add DeferredImportSelector interface that can be used to select imports
      after all @Configuration beans have been processed.
      7c7fdb07
    • P
      Support for @Conditional configuration · b257253a
      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.
      b257253a
    • P
      Extend AnnotationMetadata and MethodMetadata · 8e445f3a
      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.
      8e445f3a
    • P
      Allow access to applied property sources · eb1776e7
      Phillip Webb 提交于
      Add PropertySourcesPlaceholderConfigurer.getAppliedPropertySources() to
      allow access to the PropertySources that were actually applied.
      
      Issue: SPR-10545
      eb1776e7
    • P
      Make Make ClassPathContextResource protected · 0652febe
      Phillip Webb 提交于
      Allow ClassPathContextResource to be accessed by subclasses of
      DefaultResourceLoader.
      
      Issue: SPR-10544
      0652febe
    • P
      Fix external Javadoc references. · 13e46082
      Phillip Webb 提交于
      13e46082
    • P
      Allow late binding ServletContextAwareProcessor · e9a2e688
      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
      e9a2e688
    • P
      Allow FrameworkServlet to be used as a bean · 19187fd3
      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
      19187fd3
  6. 08 5月, 2013 11 次提交
  7. 07 5月, 2013 1 次提交
    • P
      Workaround jasper report test fail on OSX · e1c25ff1
      Phillip Webb 提交于
      Add temporary Assume.canLoadNativeDirFonts() method allowing failing
      jasper report tests to be bypassed on OSX.
      
      This should be revisited when JDK 8 is released.
      
      Issue: SPR-10537
      e1c25ff1