Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use use module name to obtain module prefix in RedisRepositoryConfigurationExtension #2762

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
*/
public class RedisRepositoryConfigurationExtension extends KeyValueRepositoryConfigurationExtension {

private static final String MODULE_NAME = "Redis";
private static final String REDIS_CONVERTER_BEAN_NAME = "redisConverter";
private static final String REDIS_REFERENCE_RESOLVER_BEAN_NAME = "redisReferenceResolver";
private static final String REDIS_ADAPTER_BEAN_NAME = "redisKeyValueAdapter";
Expand All @@ -56,12 +57,12 @@ public class RedisRepositoryConfigurationExtension extends KeyValueRepositoryCon

@Override
public String getModuleName() {
return "Redis";
return MODULE_NAME;
}

@Override
protected String getModulePrefix() {
return "redis";
return this.getModuleIdentifier();
}

@Override
Expand Down
Loading