Skip to content

Commit 062b4e8

Browse files
Provide Module Identifier via MongoRepositoryConfigurationExtension
Closes: #4092
1 parent 30a417d commit 062b4e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/config/MongoRepositoryConfigurationExtension.java

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ public String getRepositoryFactoryBeanClassName() {
5656
return MongoRepositoryFactoryBean.class.getName();
5757
}
5858

59+
@Override
60+
public String getModuleIdentifier() {
61+
return getModulePrefix();
62+
}
63+
5964
@Override
6065
protected Collection<Class<? extends Annotation>> getIdentifyingAnnotations() {
6166
return Collections.singleton(Document.class);

0 commit comments

Comments
 (0)