1. 12 12月, 2011 8 次提交
  2. 11 12月, 2011 7 次提交
    • J
      @Transactional qualifiers match against transaction manager definitions in... · 0f75cebd
      Juergen Hoeller 提交于
      @Transactional qualifiers match against transaction manager definitions in parent contexts as well (SPR-7679)
      0f75cebd
    • C
      Support use of @Scheduled against JDK proxies · d4123d06
      Chris Beams 提交于
      Prior to this change, ScheduledAnnotationBeanPostProcessor found any
      @Scheduled methods against the ultimate targetClass for a given bean
      and then attempted to invoke that method against the bean instance. In
      cases where the bean instance was in fact a JDK proxy, this attempt
      would fail because the proxy is not an instance of the target class.
      
      Now SABPP still attempts to find @Scheduled methods against the target
      class, but subsequently checks to see if the bean is a JDK proxy, and if
      so attempts to find the corresponding method on the proxy itself. If it
      cannot be found (e.g. the @Scheduled method was declared only at the
      concrete class level), an appropriate exception is thrown, explaining to
      the users their options: (a) use proxyTargetClass=true and go with
      subclass proxies which won't have this problem, or (b) pull the
      @Scheduled method up into an interface.
      
      Issue: SPR-8651
      d4123d06
    • J
    • C
      Allow parameters in FactoryBean-returning @Bean methods · 48836e2e
      Chris Beams 提交于
      Prior to this change, an assumption was made in
      AbstractAutowireCapableBeanFactory that any factory-method would have
      zero parameters.  This may not be the case in @Bean methods.
      
      We now look for the factory-method by name in a more flexible fashion
      that accomodates the possibility of method parameters.
      
      There remains at least one edge cases here where things could still fail,
      for example a @Configuration class could have two FactoryBean-returning
      methods of the same name, but each with different generic FactoryBean
      types and different parameter lists. In this case, the implementation
      may infer and return the wrong object type, as it currently returns
      the first match for the given factory-method name.  The complexity cost
      of ensuring that this never happens is not likely worth the trouble
      given the very low likelihood of such an arrangement.
      
      Issue: SPR-8762
      48836e2e
    • C
      Polish whitespace in ConfigurationClassEnhancer · 86699976
      Chris Beams 提交于
      86699976
    • C
      Mention SystemEnvironmentPropertySource in related Javadoc · 06d06d4a
      Chris Beams 提交于
      Issue: SPR-8869
      06d06d4a
    • C
      Polish @Scope Javadoc · 0449f6cb
      Chris Beams 提交于
      0449f6cb
  3. 10 12月, 2011 4 次提交
  4. 09 12月, 2011 10 次提交
  5. 08 12月, 2011 6 次提交
  6. 07 12月, 2011 5 次提交