1. 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
  2. 21 10月, 2010 1 次提交
  3. 18 10月, 2010 1 次提交
  4. 16 10月, 2010 1 次提交
  5. 12 10月, 2010 1 次提交
  6. 11 10月, 2010 3 次提交
  7. 02 10月, 2010 1 次提交
  8. 09 9月, 2010 1 次提交
  9. 08 9月, 2010 1 次提交
    • C
      Allow class-relative resource loading in GenericXmlApplicationContext (SPR-7530) · 6f69b7b7
      Chris Beams 提交于
      Before:
      
          - new GenericXmlApplicationContext("com/acme/path/to/resource.xml");
      
          - GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
            ctx.load("com/acme/path/to/resource.xml");
            ctx.refresh();
      
      After:
      
          - The above remain supported, as well as new class-relative variants
      
          - import com.acme.path.to.Foo;
            new GenericXmlApplicationContext(Foo.class, "resource.xml");
      
          - import com.acme.path.to.Foo;
            GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
            ctx.load(Foo.class, "resource.xml");
            ctx.refresh();
      
      These changes are generally aligned with signatures long available in
      ClassPathXmlApplicationContext. As GenericXmlApplicationContext is
      intended to be a more flexible successor to CPXAC (and FSXAC), it's
      important that all the same conveniences are available.
      6f69b7b7
  10. 07 9月, 2010 1 次提交
  11. 02 9月, 2010 2 次提交
  12. 27 8月, 2010 1 次提交
    • C
      Fix memory leak in serializable bean factory management (SPR-7502) · b72cca54
      Chris Beams 提交于
      GenericApplicationContext and AbstractRefreshableApplicationContext
      implementations now call DefaultListableBeanFactory.setSerializationId()
      only upon successful refresh() instead of on instantiation of the
      context, as was previously the case with GAC.
      
      DLBF.setSerializationId() adds the beanFactory to the *static*
      DLBF.serializableFactories map, and while calling close() on the
      application context removes entries from that map, it does so only if
      the context is currently active (i.e. refresh() has been called).
      
      Also, cancelRefresh() has been overridden in GAC just as it has been
      in ARAC to accomodate the possibility of a BeansException being thrown.
      In this case, the beanFactory serializationId will be nulled out and
      the beanFactory removed from the serializableFactories map.
      
      The SerializableBeanFactoryMemoryLeakTests test case provides full
      coverage of these scenarios.
      b72cca54
  13. 16 8月, 2010 1 次提交
  14. 14 8月, 2010 1 次提交
  15. 30 7月, 2010 1 次提交
  16. 29 7月, 2010 1 次提交
  17. 27 7月, 2010 1 次提交
  18. 21 7月, 2010 3 次提交
  19. 20 7月, 2010 1 次提交
  20. 13 7月, 2010 1 次提交
  21. 29 6月, 2010 1 次提交
  22. 24 6月, 2010 1 次提交
  23. 09 6月, 2010 1 次提交
  24. 08 6月, 2010 5 次提交
  25. 27 5月, 2010 2 次提交
  26. 25 5月, 2010 2 次提交
  27. 20 5月, 2010 2 次提交
  28. 18 5月, 2010 1 次提交