1. 10 5月, 2013 1 次提交
  2. 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
  3. 08 5月, 2013 11 次提交
  4. 07 5月, 2013 14 次提交
  5. 06 5月, 2013 2 次提交
  6. 05 5月, 2013 1 次提交
  7. 03 5月, 2013 2 次提交