Files
spring-data-commons/src/main/resources
Oliver Gierke 9354800225 DATACMNS-952 - Switched from component scanning to SpringFactoriesLoader for internal extension points.
Both the configuration code looking up Spring Data specific Jackson modules as well as the code detecting whether we have multiple Spring Data modules on the classpath used component scanning. That can have quite significant impact on startup times.

This commit replaces the classpath scanning with the use of SpringFactoriesLoader that now requires modules that want to extend the behavior of Spring Data's web configuration or indicate a repository implementation being present by shipping a file called META-INF/spring.factories. Spring Data relies on the following keys:

- org.springframework.data.web.config.SpringDataJacksonModules - list the Spring configuration classes that will expose additional Jackson modules that are supposed to be registered for Spring Data's Jackson web support
- org.springframework.data.repository.core.support.RepositoryFactorySupport - list the Spring Data repository factory implementation class that implements repository support for your module. The general detection and configuration mechanism for user repositories is not affected by this. Currently Spring Data only uses the pure number of different entries for that key to switch into strict configuration mode in case we find more than one entry.
2016-12-05 13:55:05 +01:00
..
2010-12-23 14:26:09 -05:00

Spring Data Commons is released under the terms of the Apache Software License Version 2.0 (see license.txt).


DISTRIBUTION CONTENTS:

The JARs are available in the 'dist' directory, and the source JARs are in the 'src' directory.

The reference manual and javadoc are located in the 'docs' directory.


ADDITIONAL RESOURCES:

Spring Data Homepage: http://projects.spring.io/spring-data
Spring Data on Stackoverflow: http://stackoverflow.com/questions/tagged/spring-data