SGF-455 - Simplified registration for shared GemfireMappingContext for repositories.

A <gemfire:repositories /> now registers a single bean definition for a GemfireMappingContext that gets wired to the GemfireRepositoryFactoryBean instances registered within the system unless an explicit mapping context is referenced.

The GemfireRepositoryFactoryBean now checks a GemfireMappingContext being registered and rejects to start without one. The same applies to GemfireRepositoryFactory.

Related tickets: SGF-448, SGF-449, SGF-450.
This commit is contained in:
Oliver Gierke
2015-12-16 14:59:44 +01:00
parent 6ad886ffae
commit 34665d16ec
8 changed files with 137 additions and 332 deletions

View File

@@ -1,11 +1,11 @@
log4j.rootCategory=INFO, stdout
log4j.rootCategory=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
log4j.category.org.springframework.data.gemfire.listener=TRACE
log4j.category.org.springframework.data.gemfire=DEBUG
#log4j.category.org.springframework.data.gemfire.listener=TRACE
#log4j.category.org.springframework.data.gemfire=DEBUG
#log4j.category.org.springframework=DEBUG
# for debugging datasource initialization