diff --git a/spring-cloud-context/src/main/java/org/springframework/cloud/context/scope/GenericScope.java b/spring-cloud-context/src/main/java/org/springframework/cloud/context/scope/GenericScope.java index 372bbf3c..4315a129 100644 --- a/spring-cloud-context/src/main/java/org/springframework/cloud/context/scope/GenericScope.java +++ b/spring-cloud-context/src/main/java/org/springframework/cloud/context/scope/GenericScope.java @@ -431,7 +431,7 @@ public class GenericScope implements Scope, BeanFactoryPostProcessor, } @SuppressWarnings("serial") - protected class LockedScopedProxyFactoryBean extends ScopedProxyFactoryBean + public class LockedScopedProxyFactoryBean extends ScopedProxyFactoryBean implements MethodInterceptor { private String targetBeanName;