1. 08 6月, 2013 1 次提交
  2. 05 6月, 2013 3 次提交
    • P
      Update @Conditional processing logic · 239ce146
      Phillip Webb 提交于
      Defer @Conditional processing on @Configuration classes until the bean
      definitions are loaded, rather than when the @Configuration class is
      parsed. This provides better support for @Conditional implementations
      that inspect bean definitions.
      
      This commit also fixes some minor problems with original implementation
      and replaces the ConditionalAnnotationHelper class with
      ConditionEvaluator.
      
      Issue: SPR-10534
      239ce146
    • P
      Do not consider all @Components as configuration · 2ecc51f0
      Phillip Webb 提交于
      Update ConfigurationClassUtils to only consider beans with @Bean
      methods as 'lite' configuration candidates.
      
      Prior to this commit all @Component beans were considered 'lite'
      configuration candidates which could result in a large number of
      ConfigurationClass instance being created that would ultimately be
      ignored.
      
      Issue: SPR-10609
      2ecc51f0
    • P
      Support meta @Component with non-string value · a8fd8328
      Phillip Webb 提交于
      Update AnnotationBeanNameGenerator to only use the value attribute of
      a @Component meta-annotated annotation when it is a String.
      
      Issue: SPR-10580
      a8fd8328
  3. 04 6月, 2013 1 次提交
  4. 16 5月, 2013 1 次提交
  5. 15 5月, 2013 2 次提交
  6. 14 5月, 2013 1 次提交
  7. 10 5月, 2013 1 次提交
    • 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
  8. 09 5月, 2013 2 次提交
    • 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
  9. 07 5月, 2013 4 次提交
    • P
      Consider @Import classes as lite @Configuration · 71f6da67
      Phillip Webb 提交于
      Allow classes that are annotated with @Import to be considered as 'lite'
      @Configuration candidates. Allows the AnnotationConfigApplicationContext
      to directly register @Import beans even if they are not @Components.
      
      Issue: SPR-10533
      71f6da67
    • P
      Filter source @Configuration with @ComponentScan · d91ffb6a
      Phillip Webb 提交于
      Exclude self @Component when parsing @ComponentScan annotations.
      
      Issue: SPR-10531
      d91ffb6a
    • P
      Support *Aware ImportSelectors · db0d780d
      Phillip Webb 提交于
      Implementations of Spring's ImportSelector interface may
      now implement any of the following *Aware interfaces and have their
      respective methods called prior to #registerBeanDefinitions:
      
       - BeanFactoryAware
       - BeanClassLoaderAware
       - ResourceLoaderAware
      
      Issue: SPR-10530
      db0d780d
    • P
      Add AnnotationConfigApplicationContext constructor · f05d0885
      Phillip Webb 提交于
      Add AnnotationConfigApplicationContext constructor allow use of a
      custom DefaultListableBeanFactory.
      
      Issue: SPR-10529
      f05d0885
  10. 23 4月, 2013 1 次提交
    • J
      Minimized ASM usage · d3a40687
      Juergen Hoeller 提交于
      In particular, avoid accidental usage of ASM for core JDK types - which will fail in case of a new bytecode version in the JDK, even if the application itself has been compiled with an earlier bytecode target.
      
      Issue: SPR-10292
      d3a40687
  11. 19 3月, 2013 2 次提交
  12. 13 3月, 2013 1 次提交
  13. 27 2月, 2013 1 次提交
  14. 10 2月, 2013 1 次提交
  15. 07 2月, 2013 1 次提交
  16. 05 2月, 2013 2 次提交
  17. 31 1月, 2013 1 次提交
  18. 16 1月, 2013 1 次提交
  19. 02 1月, 2013 1 次提交
  20. 29 12月, 2012 6 次提交
  21. 13 12月, 2012 1 次提交
  22. 12 12月, 2012 2 次提交
  23. 06 12月, 2012 1 次提交
  24. 27 11月, 2012 1 次提交
  25. 26 11月, 2012 1 次提交