1. 22 9月, 2016 1 次提交
  2. 20 9月, 2016 1 次提交
  3. 17 9月, 2016 1 次提交
  4. 16 9月, 2016 1 次提交
  5. 14 9月, 2016 1 次提交
  6. 10 9月, 2016 2 次提交
  7. 06 9月, 2016 1 次提交
    • R
      Resource handling support for Spring Web Reactive · 1ae64bfb
      Rossen Stoyanchev 提交于
      A straight-forward port of the resource handling support in
      spring-webmvc to spring-web-reactive. Primarily adapting contracts and
      implementations to use the reactive request and response and the
      reactive ResourceHttpMessageWriter.
      
      Issue: SPR-14521
      1ae64bfb
  8. 03 9月, 2016 2 次提交
  9. 02 9月, 2016 1 次提交
  10. 01 9月, 2016 4 次提交
    • S
      Support for candidate components index · dcade06f
      Stephane Nicoll 提交于
      This commit adds a "spring-context-indexer" module that can be added to
      any project in order to generate an index of candidate components defined
      in the project.
      
      `CandidateComponentsIndexer` is a standard annotation processor that
      looks for source files with target annotations (typically `@Component`)
      and references them in a `META-INF/spring.components` generated file.
      
      Each entry in the index is the fully qualified name of a candidate
      component and the comma-separated list of stereotypes that apply to that
      candidate. A typical example of a stereotype is `@Component`. If a
      project has a `com.example.FooService` annotated with `@Component` the
      following `META-INF/spring.components` file is generated at compile time:
      
      ```
      com.example.FooService=org.springframework.stereotype.Component
      ```
      
      A new `@Indexed` annotation can be added on any annotation to instructs
      the scanner to include a source file that contains that annotation. For
      instance, `@Component` is meta-annotated with `@Indexed` now and adding
      `@Indexed` to more annotation types will transparently improve the index
      with additional information. This also works for interaces or parent
      classes: adding `@Indexed` on a `Repository` base interface means that
      the indexed can be queried for its implementation by using the fully
      qualified name of the `Repository` interface.
      
      The indexer also adds any class or interface that has a type-level
      annotation from the `javax` package. This includes obviously JPA
      (`@Entity` and related) but also CDI (`@Named`, `@ManagedBean`) and
      servlet annotations (i.e. `@WebFilter`). These are meant to handle
      cases where a component needs to identify candidates and use classpath
      scanning currently.
      
      If a `package-info.java` file exists, the package is registered using
      a "package-info" stereotype.
      
      Such files can later be reused by the `ApplicationContext` to avoid
      using component scan. A global `CandidateComponentsIndex` can be easily
      loaded from the current classpath using `CandidateComponentsIndexLoader`.
      
      The core framework uses such infrastructure in two areas: to retrieve
      the candidate `@Component`s and to build a default `PersistenceUnitInfo`.
      Rather than scanning the classpath and using ASM to identify candidates,
      the index is used if present.
      
      As long as the include filters refer to an annotation that is directly
      annotated with `@Indexed` or an assignable type that is directly
      annotated with `@Indexed`, the index can be used since a dedicated entry
      wil be present for that type. If any other unsupported include filter is
      specified, we fallback on classpath scanning.
      
      In case the index is incomplete or cannot be used, The
      `spring.index.ignore` system property can be set to `true` or,
      alternatively, in a "spring.properties" at the root of the classpath.
      
      Issue: SPR-11890
      dcade06f
    • S
      Add support for RxJava 2 · 48d67a24
      Sebastien Deleuze 提交于
      This commit adds support for RxJava 2 Completable,
      Single, Observable and Flowable types (io.reactivex package).
      
      Issue: SPR-14628
      48d67a24
    • J
      1cf503f9
    • S
      Demo how to use SpringClassRule in nested test classes · ab7b5e5c
      Sam Brannen 提交于
      Due to restrictions imposed by JUnit 4, the SpringClassRule must be
      declared as a public static field, which makes it impossible to be
      declared directly within a nested (i.e., inner) test class.
      
      This commit demonstrates a work-around that makes it possible to use
      the SpringClassRule and SpringMethodRule in a nested (i.e., inner) test
      class when using a custom JUnit 4 runner such as the
      HierarchicalContextRunner from Stefan Bechtold.
      
      The trick is to have inner test classes extend a class that properly
      declares the SpringClassRule and SpringMethodRule. The
      SpringRuleConfigurer in this commit serves as an example.
      
      Note, however, that each such nested test class must declare its own
      @ContextConfiguration. Furthermore, TestExecutionListeners in the
      Spring TestContext Framework are not applied to the enclosing instance
      of such an inner test class, meaning that @Autowired fields in the
      enclosing instance will not be injected, etc.
      
      Issue: SPR-14150
      ab7b5e5c
  11. 30 8月, 2016 3 次提交
    • J
      Upgrade to Jackson 2.8.2 and Netty 4.1.5 · b19d3fc0
      Juergen Hoeller 提交于
      b19d3fc0
    • S
      Add Smile and CBOR Jackson data formats support · e8530c91
      Sebastien Deleuze 提交于
      This commit adds Smile and CBOR Jackson HttpMessageConverters
      and make it possible to create Smile and CBOR ObjectMapper via
      Jackson2ObjectMapperBuilder, which now allows to specify any
      custom JsonFactory.
      
      Like with JSON and XML Jackson support, the relevant
      HttpMessageConverters are automaticially configurered by
      Spring MVC WebMvcConfigurationSupport if jackson-dataformat-smile
      or jackson-dataformat-cbor dependencies are found in the classpath.
      
      Issue: SPR-14435
      e8530c91
    • S
      Upgrade to SonarQube plugin 2.1-rc1 · c399b4b3
      Stephane Nicoll 提交于
      This commit upgrades the SonarQube plugin so that it is compatible with
      Gradle 3.
      
      Issue: SPR-14569
      c399b4b3
  12. 26 8月, 2016 1 次提交
  13. 23 8月, 2016 1 次提交
  14. 22 8月, 2016 3 次提交
  15. 20 8月, 2016 1 次提交
    • R
      Consistent reactor-core versions · 3d68806c
      Rob Winch 提交于
      Previously the IDE (STS) was resolving a different reactor-core
      version (3.0.0.BUILD-SNAPSHOT) than the build (3.0.0.RELEASE). This
      discrepancy was due to the fact that reactor-netty now brings in
      reactor-core 3.0.0.RELEASE. Gradle's version conflict resolution is to use
      the latest version. However, the optional dependency on reactor-core
      3.0.0.BUILD-SNAPSHOT was making the build path of the IDE use the SNAPSHOT.
      
      This fix leverages a resolutionStrategy to ensure a consistent version of
      reactor-core is used throughout the entire project. It also bumps up the
      reactor-core version to 3.0.0.RELEASE to be consistent with reactor-netty.
      Care is taken to only change 3.x vesion since 2.x is still used within
      the codebase.
      3d68806c
  16. 18 8月, 2016 1 次提交
  17. 16 8月, 2016 1 次提交
  18. 09 8月, 2016 1 次提交
  19. 08 8月, 2016 1 次提交
  20. 03 8月, 2016 1 次提交
  21. 28 7月, 2016 1 次提交
  22. 27 7月, 2016 4 次提交
  23. 26 7月, 2016 3 次提交
  24. 25 7月, 2016 2 次提交
  25. 24 7月, 2016 1 次提交