Skip to content

Commit ac45348

Browse files
committed
DATACMNS-836 - Make RepositoryConfigurationExtensionSupport.loadRepositoryInterface method protected.
Expose loadRepositoryInterface method to subclasses.
1 parent 5ed0d2d commit ac45348

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
* {@link #getModulePrefix()}). Stubs out the post-processing methods as they might not be needed by default.
4444
*
4545
* @author Oliver Gierke
46+
* @author Mark Paluch
4647
*/
4748
public abstract class RepositoryConfigurationExtensionSupport implements RepositoryConfigurationExtension {
4849

@@ -293,7 +294,7 @@ protected boolean isStrictRepositoryCandidate(Class<?> repositoryInterface) {
293294
* @param loader must not be {@literal null}.
294295
* @return the repository interface or {@literal null} if it can't be loaded.
295296
*/
296-
private Class<?> loadRepositoryInterface(RepositoryConfiguration<?> configuration, ResourceLoader loader) {
297+
protected Class<?> loadRepositoryInterface(RepositoryConfiguration<?> configuration, ResourceLoader loader) {
297298

298299
String repositoryInterface = configuration.getRepositoryInterface();
299300
ClassLoader classLoader = loader.getClassLoader();

0 commit comments

Comments
 (0)