1. 08 3月, 2019 1 次提交
  2. 26 2月, 2019 1 次提交
  3. 07 2月, 2019 1 次提交
  4. 10 10月, 2018 1 次提交
  5. 26 7月, 2018 1 次提交
    • R
      Improve context-related logging on web startup · 14d0fee8
      Rossen Stoyanchev 提交于
      Sample output at TRACE:
      ```
      DispatcherServlet - Initializing Servlet 'org.springframework.web.servlet.DispatcherServlet-7a8c8dcf'
      AnnotationConfigWebApplicationContext - Refreshing WebApplicationContext for namespace 'org.springframework.web.servlet.DispatcherServlet-7a8c8dcf-servlet', started on Wed Jul 25 17:46:38 EDT 2018
      AnnotationConfigWebApplicationContext - Registering [org.springframework.web.servlet.mvc.method.annotation.RequestPartIntegrationTests$CommonsMultipartResolverTestConfig]
      AnnotationConfigWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
      AnnotationConfigWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
      AnnotationConfigWebApplicationContext - No 'lifecycleProcessor' bean, using [DefaultLifecycleProcessor]
      ...
      DispatcherServlet - Initialization completed in 3361 ms
      ```
      
      Issue: SPR-16946
      14d0fee8
  6. 24 7月, 2018 1 次提交
    • J
      Programmatic ObjectProvider retrieval through BeanFactory API · 1603c4ab
      Juergen Hoeller 提交于
      Introduces getBeanProvider(Class) and getBeanProvider(ResolvableType), also narrowing getBean(String, Class) and isTypeMatch(String, Class) to a non-null Class argument and enriching NoUniqueBeanDefinitionException with a full ResolvableType. In addition, ObjectProvider supports iterable/stream access for collection-style resolution of multiple matching beans now, and collection injection falls back to an empty collection in a single-constructor case with non-null arguments.
      
      Issue: SPR-17075
      Issue: SPR-11419
      Issue: SPR-15338
      1603c4ab
  7. 20 7月, 2018 1 次提交
  8. 28 6月, 2018 2 次提交
  9. 01 4月, 2018 1 次提交
  10. 25 2月, 2018 1 次提交
  11. 02 11月, 2017 1 次提交
  12. 17 8月, 2017 1 次提交
  13. 08 7月, 2017 1 次提交
  14. 30 6月, 2017 1 次提交
  15. 13 6月, 2017 1 次提交
  16. 07 6月, 2017 1 次提交
    • J
      Consistent use of @Nullable across the codebase (even for internals) · f813712f
      Juergen Hoeller 提交于
      Beyond just formally declaring the current behavior, this revision actually enforces non-null behavior in selected signatures now, not tolerating null values anymore when not explicitly documented. It also changes some utility methods with historic null-in/null-out tolerance towards enforced non-null return values, making them a proper citizen in non-null assignments.
      
      Some issues are left as to-do: in particular a thorough revision of spring-test, and a few tests with unclear failures (ignored as "TODO: NULLABLE") to be sorted out in a follow-up commit.
      
      Issue: SPR-15540
      f813712f
  17. 01 6月, 2017 1 次提交
  18. 31 5月, 2017 1 次提交
  19. 28 4月, 2017 1 次提交
  20. 17 1月, 2017 1 次提交
  21. 29 12月, 2016 1 次提交
  22. 27 12月, 2016 1 次提交
  23. 29 10月, 2016 1 次提交
  24. 05 7月, 2016 1 次提交
  25. 11 4月, 2016 1 次提交
  26. 10 4月, 2016 1 次提交
  27. 09 3月, 2016 1 次提交
    • S
      Support ResolvableTypeProvider on simple event pojo · 8e24a415
      Stephane Nicoll 提交于
      Previously, the generic type of a simple pojo event implementing
      ResolvableTypeProvider wasn't detected properly. This commit fixes the
      logic when the generic type is not provided to reuse what
      PayloadApplicationEvent is already doing anyway.
      
      Issue: SPR-14029
      8e24a415
  28. 12 2月, 2016 1 次提交
  29. 10 12月, 2015 1 次提交
  30. 11 11月, 2015 2 次提交
  31. 10 10月, 2015 1 次提交
  32. 04 9月, 2015 1 次提交
  33. 22 7月, 2015 1 次提交
  34. 16 6月, 2015 1 次提交
  35. 17 4月, 2015 1 次提交
  36. 24 3月, 2015 1 次提交
  37. 19 3月, 2015 1 次提交
  38. 10 2月, 2015 1 次提交
    • S
      Annotation-based event listeners · f0fca890
      Stephane Nicoll 提交于
      Add support for annotation-based event listeners. Enabled automatically
      when using Java configuration or can be enabled explicitly via the
      regular <context:annotation-driven/> XML element. Detect methods of
      managed beans annotated with @EventListener, either directly or through
      a meta-annotation.
      
      Annotated methods must define the event type they listen to as a single
      parameter argument. Events are automatically filtered out according to
      the method signature. When additional runtime filtering is required, one
      can specify the `condition` attribute of the annotation that defines a
      SpEL expression that should match to actually invoke the method for a
      particular event. The root context exposes the actual `event`
      (`#root.event`) and method arguments (`#root.args`). Individual method
      arguments are also exposed via either the `a` or `p` alias (`#a0` refers
      to the first method argument). Finally, methods arguments are exposed via
      their names if that information can be discovered.
      
      Events can be either an ApplicationEvent or any arbitrary payload. Such
      payload is wrapped automatically in a PayloadApplicationEvent and managed
      explicitly internally. As a result, users can now publish and listen
      for arbitrary objects.
      
      If an annotated method has a return value, an non null result is actually
      published as a new event, something like:
      
      @EventListener
      public FooEvent handle(BarEvent event) { ... }
      
      Events can be handled in an aynchronous manner by adding `@Async` to the
      event method declaration and enabling such infrastructure. Events can
      also be ordered by adding an `@order` annotation to the event method.
      
      Issue: SPR-11622
      f0fca890