Introduce @Proxyable annotation for bean-specific proxy type

Closes gh-35296
See gh-35293
This commit is contained in:
Juergen Hoeller
2025-08-06 18:26:40 +02:00
parent 9edb96ae57
commit df86a9973d
8 changed files with 175 additions and 22 deletions
@@ -464,7 +464,7 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
proxyFactory.addInterface(ifc);
}
}
else if (!proxyFactory.isProxyTargetClass()) {
if (ifcs != null ? ifcs.length == 0 : !proxyFactory.isProxyTargetClass()) {
evaluateProxyInterfaces(beanClass, proxyFactory);
}
}