DATAREDIS-425 - Add JSR-310 support, CDI extension and Update reference documentation.

We ship converters for JSR-310 types (LocalDate/Time, ZonedDateTime, Period, Duration and ZoneId) to map between UTF-8-encoded byte[] and JDK 8 date/time types.

We also export Redis Repositories in a CDI environment. Repositories can be injected using @Inject. The CDI extension requires at least RedisOperations to be provided. Other beans like RedisKeyValueAdapter and RedisKeyValueTemplate can be provided by the user. If no RedisKeyValueAdapter/RedisKeyValueTemplate beans are found, the CDI extension creates own managed instances.

Original Pull Request: #156
This commit is contained in:
Mark Paluch
2016-02-19 10:02:57 +01:00
committed by Christoph Strobl
parent 4362c58a8a
commit 92274a8450
35 changed files with 1972 additions and 61 deletions

View File

@@ -0,0 +1 @@
org.springframework.data.redis.repository.cdi.RedisRepositoryExtension