diff --git a/dubbo-registry/dubbo-registry-redis/src/main/java/com/alibaba/dubbo/registry/redis/RedisRegistryFactory.java b/dubbo-registry/dubbo-registry-redis/src/main/java/com/alibaba/dubbo/registry/redis/RedisRegistryFactory.java index 52825c04b2a0..652fbbe66399 100644 --- a/dubbo-registry/dubbo-registry-redis/src/main/java/com/alibaba/dubbo/registry/redis/RedisRegistryFactory.java +++ b/dubbo-registry/dubbo-registry-redis/src/main/java/com/alibaba/dubbo/registry/redis/RedisRegistryFactory.java @@ -18,15 +18,16 @@ import com.alibaba.dubbo.common.URL; import com.alibaba.dubbo.registry.Registry; import com.alibaba.dubbo.registry.RegistryFactory; +import com.alibaba.dubbo.registry.support.AbstractRegistryFactory; /** * RedisRegistryFactory * * @author william.liangf */ -public class RedisRegistryFactory implements RegistryFactory { +public class RedisRegistryFactory extends AbstractRegistryFactory { - public Registry getRegistry(URL url) { + public Registry createRegistry(URL url) { return new RedisRegistry(url); }