1. 23 10月, 2013 1 次提交
    • P
      Add @PropertySources and ignoreResourceNotFound · e95bd9e2
      Phillip Webb 提交于
      Support repeatable @PropertySource annotations in Java 8 and add
      @PropertySources container annotation for Java 6/7. Also add an
      ignoreResourceNotFound attribute to @PropertySource allowing missing
      property resources to be silently ignored.
      
      This commit also introduces some generally useful methods to
      AnnotationUtils for working with @Repeatable annotations.
      
      Issue: SPR-8371
      e95bd9e2
  2. 28 8月, 2013 1 次提交
    • J
      Introduced support for @Lazy on injection points · 4447248a
      Juergen Hoeller 提交于
      This turned into a rather huge affair since it led to the introduction of a new AutowireCandidateResolver implementation in the spring-context module. That ACR impl is now being set through AnnotationConfigUtils; GenericApplicationContext and co do not set a default QualifierAnnotationAutowireCandidateResolver anymore (which has always been a smell anyway).  At the same time, dependency ordering has moved from AutowiredAnnotationBeanPostProcessor to DefaultListableBeanFactory itself through a "dependencyComparator" strategy, applying to constructor dependencies and lazy resolution proxies as well.
      
      Issue: SPR-10353
      4447248a
  3. 23 8月, 2013 1 次提交
  4. 29 12月, 2012 1 次提交
  5. 31 1月, 2012 1 次提交
    • C
      Rename modules {org.springframework.*=>spring-*} · 02a4473c
      Chris Beams 提交于
      This renaming more intuitively expresses the relationship between
      subprojects and the JAR artifacts they produce.
      
      Tracking history across these renames is possible, but it requires
      use of the --follow flag to `git log`, for example
      
          $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history up until the renaming event, where
      
          $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history for all changes to the file, before and after the
      renaming.
      
      See http://chrisbeams.com/git-diff-across-renamed-directories
      02a4473c
  6. 16 11月, 2011 1 次提交
    • C
      Refactor ImportSelector support · d1f6672a
      Chris Beams 提交于
      Separate concerns of @Configuration class selection from the need to
      register certain infrastructure beans such as auto proxy creators.
      
      Prior to this change, ImportSelector implementations were responsible
      for both of these concerns, leading to awkwardness and duplication.
      
      Also introduced in this change is ImportBeanDefinitionRegistrar and
      two implementations, AutoProxyRegistrar and AspectJAutoProxyRegistrar.
      See the refactored implementations of CachingConfigurationSelector,
      TransactionManagementConfigurationSelector to see the former;
      AspectJAutoProxyConfigurationSelector to see the latter.
      
      ImportSelector and ImportBeanDefinitionRegistrar are both handled as
      special-case arguments to the @Import annotation within
      ConfigurationClassParser.
      
      These refactorings are important because they ensure that Spring users
      will be able to understand and extend existing @Enable* annotations
      and their backing ImportSelector and @Configuration classes, as well
      as create their own with a minimum of effort.
      d1f6672a
  7. 07 5月, 2011 3 次提交
    • C
      Introduce @EnableAsync · de50789c
      Chris Beams 提交于
      Introduce @EnableAsync#order
      
      AsyncAnnotationBeanPostProcessor's 'order' property is now mutable;
      @EnableAsync's 'order()' attribute allows for setting it, but must
      have a default value, thus uses the new Ordered#NOT_ORDERED
      constant - a reserved negative number very unlikely to be otherwise
      used that may be interpreted as 'not ordered', useful in annotation
      defaulting scenarios where null is not an option.
      
      Introduce first working cut of AsyncConfiguration
      
      Remove AsyncCapability
      de50789c
    • C
      Introduce @Role · cf0fc278
      Chris Beams 提交于
      As a mechanism for setting the 'role' hint on BeanDefinitions created
      via component-scanning or @Bean methods.
      cf0fc278
    • C
      Consolidate annotation processing constants · 2bc3527f
      Chris Beams 提交于
      Consolidating internal bean name and aspect class name constats within
      AnnotationConfigUtils to allow access from both the context.config
      and context.annotation packages without creating a relationship between
      the two of them (they are unrelated leaf nodes in the packaging
      currently).
      
      The .transaction module does not have a similar utils class and already
      has a relationship from transaction.config -> transaction.annotation,
      so placing the constants in .annotation.TransactionManagementCapability
      to be referenced by .config.AnnotationDrivenBeanDefinitionParser
      2bc3527f
  8. 26 10月, 2010 1 次提交
    • C
      Merge 3.1.0 development branch into trunk · f480333d
      Chris Beams 提交于
      Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
      git-svn repository with:
      
          git merge -s recursive -Xtheirs --no-commit env
      
      No merge conflicts, but did need to
      
          git rm spring-build
      
      prior to committing.
      
      With this change, Spring 3.1.0 development is now happening on SVN
      trunk. Further commits to the 3.0.x line will happen in an as-yet
      uncreated SVN branch.  3.1.0 snapshots will be available
      per the usual nightly CI build from trunk.
      f480333d
  9. 24 10月, 2009 1 次提交
  10. 20 4月, 2009 1 次提交
  11. 27 3月, 2009 2 次提交
  12. 16 2月, 2009 1 次提交
  13. 21 11月, 2008 1 次提交
  14. 23 10月, 2008 1 次提交