-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Remove AopProxyUtils#completeJdkProxyInterfaces
#28998
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
Comments
AopProxyUtils#completeProxiedInterfaces
@snicoll Maybe we should keep it (potentially with an updated Javadoc) for the manual proxy creation that can't be inferred? |
We could. I still don't like the current method arrangement. It's consistent with similar methods in this class but the consumers of the new method could use something a bit more explicit. I'd like to see something like |
AopProxyUtils#completeProxiedInterfaces
AopProxyUtils#completeJdkProxyInterfaces
I think you misunderstood it, indeed. I am not talking about adding something to the core hint API (that would be a conceptual cycle). I am rather advocating that public static Consumer<Builder> asAopProxy() {
return builder -> builder.proxiedInterfaces(SpringProxy.class, Advised.class, DecoratingProxy.class);
} |
Thanks for the additional details. I don't think |
Follow-up of #28980 since it should not be useful anymore now that related proxies are inferred.
The text was updated successfully, but these errors were encountered: