Make RedisConnectionProxy public.

RedisConnectionProxy is now public so it can be used properly for Java proxy creation across different class loaders. Previously, creating a Java proxy from a different class loader failed because of visibility/access restrictions.

Closes #2016
This commit is contained in:
Mark Paluch
2021-03-24 09:33:02 +01:00
parent af4491395a
commit 503d639c5d
2 changed files with 4 additions and 3 deletions

View File

@@ -626,7 +626,7 @@ public abstract class RedisConnectionUtils {
* @since 2.4.2
* @see RedisConnectionUtils#getTargetConnection(RedisConnection)
*/
interface RedisConnectionProxy extends RedisConnection, RawTargetAccess {
public interface RedisConnectionProxy extends RedisConnection, RawTargetAccess {
/**
* Return the target {@link RedisConnection} of this proxy.