1. 29 3月, 2011 10 次提交
  2. 28 3月, 2011 3 次提交
  3. 24 3月, 2011 1 次提交
  4. 23 3月, 2011 1 次提交
  5. 18 3月, 2011 1 次提交
  6. 15 3月, 2011 3 次提交
    • C
      Remove TODOs related to profile logging · 150838bf
      Chris Beams 提交于
      Issue: SPR-8031, SPR-7508, SPR-8057
      150838bf
    • C
      Resolve or eliminate Environment-related TODOs · b50ac748
      Chris Beams 提交于
      Issue: SPR-8031, SPR-7508
      b50ac748
    • C
      @Feature methods accept @Value-annotated params · d471266d
      Chris Beams 提交于
      Previously errors were being raised when trying to inject @Value
      annotated paramaters such as:
      
      @Feature
      public FeatureSpec feature(@Value("#{environment['foo']}") String foo) {
          return new FeatureSpec(foo);
      }
      
      This is not so much because dependency resolution of @Value-annotated
      types was failing, but rather because the 'early bean reference'
      proxying mechanism was throwing an exception if any final type was
      detected as a parameter. This is of course because final types are
      non-subclassable by CGLIB.  On review, however, it's obvious that
      certain final types must be allowed for injection.  @Value injection
      is an obvious one, but the rarer case of a Spring bean of type String
      or int is another.
      
      The explicit guard against final types as parameters to @Feature methods
      has been removed. Final types are still checked for, however, and if
      found, no proxing is attempted.  The dependency is immediately resolved
      against the current BeanFactory and injected into the @Feature method.
      
      This means that @Value injection, @Qualifier injection, etc all work
      as expected, but does mean that premature bean instantiation may occur
      if a user unwittingly injects non-String, non-primitive final bean types
      as @Feature method parameters.
      
      Issue: SPR-7974
      d471266d
  7. 14 3月, 2011 4 次提交
  8. 13 3月, 2011 1 次提交
  9. 12 3月, 2011 2 次提交
  10. 11 3月, 2011 2 次提交
  11. 10 3月, 2011 2 次提交
  12. 09 3月, 2011 2 次提交
  13. 07 3月, 2011 5 次提交
  14. 06 3月, 2011 3 次提交