1. 06 3月, 2019 1 次提交
  2. 13 12月, 2018 1 次提交
  3. 17 3月, 2018 1 次提交
  4. 06 7月, 2016 1 次提交
  5. 04 5月, 2016 1 次提交
  6. 19 3月, 2016 1 次提交
  7. 29 2月, 2016 1 次提交
  8. 15 8月, 2014 1 次提交
  9. 15 3月, 2014 1 次提交
    • J
      Revised naming for prototype inner beans to avoid excessive unique name calculation · 5308b3e3
      Juergen Hoeller 提交于
      Restored original singleton-only adaptInnerBeanName behavior, avoiding endless unique name calculation for every single prototype instance. Non-named inner BeanDefinition objects now suffixed with an identity hex code analogous to non-named XML bean definitions, largely avoiding naming collisions to begin with. After SPR-11246, post-processors can deal with unstable classes per bean name, so occasional collisions aren't a hard problem anymore.
      
      Issue: SPR-11545
      5308b3e3
  10. 13 3月, 2014 1 次提交
  11. 10 3月, 2014 1 次提交
  12. 13 2月, 2014 2 次提交
    • S
      Fix CGLIB memory leak for method injection · 8028eae7
      Sam Brannen 提交于
      This commit continues the work for fixing memory leaks resulting from
      CGLIB subclass generation for beans relying on method injection.
      
      - Set proxy callbacks on the CGLIB Factory (i.e., the instance) instead
        of in the generated subclass (i.e., via the Enhancer).
      
      - Convert private inner classes in CglibSubclassingInstantiationStrategy
        to private static classes in order to avoid unnecessary coupling to
        classes generated using CGLIB.
      
      - Tidy up XmlBeanFactoryTests.
      
      - Update logic in serializableMethodReplacerAndSuperclass() so that it
        finally aligns with the decision made for SPR-356.
      
      Issue: SPR-10785, SPR-356
      8028eae7
    • S
      Test against CGLIB memory leak for method injection · f2a4537b
      Sam Brannen 提交于
      This commit introduces a test in XmlBeanFactoryTests that verifies that
      CGLIB generated subclasses for method injected beans are reused across
      bean factories for identical bean definitions. In other words, by
      verifying that the same CGLIB generated class is reused for identical
      bean definitions, we can be certain that Spring is no longer generating
      identical, duplicate classes that consume memory in the VM.
      
      Issue: SPR-10785, SPR-11420
      f2a4537b
  13. 10 12月, 2013 1 次提交
    • J
      Fixed inner bean name determination for multi-level nesting scenario,... · 242ecdc4
      Juergen Hoeller 提交于
      Fixed inner bean name determination for multi-level nesting scenario, calculating a unique bean name as early as possible now (and for any kind of bean scope)
      
      Our per-bean caching in AutowiredAnnotationBeanPostProcessor and co relies on unique bean names, so this change fixes potential cache mismatch problems occuring there.
      
      Issue: SPR-11131
      242ecdc4
  14. 07 2月, 2013 1 次提交
  15. 04 1月, 2013 1 次提交
    • P
      Remove duplicate test classes · 42b5d6dd
      Phillip Webb 提交于
      Prior to this commit many test utility classes and sample beans were
      duplicated across projects. This was previously necessary due to the
      fact that dependent test sources were not shared during a gradle
      build. Since the introduction of the 'test-source-set-dependencies'
      gradle plugin this is no longer the case.
      
      This commit attempts to remove as much duplicate code as possible,
      co-locating test utilities and beans in the most suitable project.
      For example, test beans are now located in the 'spring-beans'
      project.
      
      Some of the duplicated code had started to drift apart when
      modifications made in one project where not ported to others. All
      changes have now been consolidated and when necessary existing tests
      have been refactored to account for the differences.
      
      Conflicts:
      	spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java
      	spring-beans/src/test/java/org/springframework/beans/factory/support/BeanFactoryGenericsTests.java
      	spring-beans/src/test/java/org/springframework/beans/support/PagedListHolderTests.java
      42b5d6dd
  16. 02 1月, 2013 1 次提交
    • P
      Fix [deprecation] compiler warnings · 6626a387
      Phillip Webb 提交于
      Fix deprecation compiler warnings by refactoring code or applying
      @SuppressWarnings("deprecation") annotations. JUnit tests of
      internally deprecated classes are now themselves marked as
      @Deprecated.
      
      Numerous EasyMock deprecation warnings will remain until the
      migration to mockito can be completed.
      6626a387
  17. 29 12月, 2012 1 次提交
  18. 28 10月, 2012 2 次提交
    • G
      Allow 'arg-type' matches against element body · 0709c033
      Gareth Davis 提交于
      Allow the body of 'arg-type' XML elements to be used as an alternative to
      'match' attribute when defining a 'replace-method' in XML configuration.
      
      This change has been introduced primarily to support the samples printed
      in the Apress 'Pro Spring' book.
      
      Issue: SPR-9812
      0709c033
    • P
      Polish whitespace · 376eeed8
      Phillip Webb 提交于
      376eeed8
  19. 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
  20. 20 6月, 2011 1 次提交
  21. 30 11月, 2009 1 次提交
  22. 20 11月, 2009 1 次提交
  23. 12 11月, 2009 1 次提交
  24. 27 8月, 2009 1 次提交
  25. 30 7月, 2009 1 次提交
  26. 28 7月, 2009 1 次提交
  27. 27 7月, 2009 1 次提交
  28. 17 7月, 2009 1 次提交
  29. 16 7月, 2009 2 次提交
  30. 03 6月, 2009 1 次提交
  31. 20 12月, 2008 2 次提交
  32. 15 12月, 2008 1 次提交
  33. 29 10月, 2008 1 次提交