Skip to content

Commit c76c671

Browse files
committed
AOT RuntimeHints Polishing
- rename hints registrar according to convention - use `registerSynthesizedAnnotation()`
1 parent f2e1e98 commit c76c671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
* @since 3.0
3737
*
3838
*/
39-
public class RabbitRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
39+
public class RabbitRuntimeHints implements RuntimeHintsRegistrar {
4040

4141
@Override
4242
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
43-
RuntimeHintsUtils.registerAnnotation(hints, RabbitListener.class);
43+
RuntimeHintsUtils.registerSynthesizedAnnotation(hints, RabbitListener.class);
4444
ProxyHints proxyHints = hints.proxies();
4545
proxyHints.registerJdkProxy(ChannelProxy.class);
4646
proxyHints.registerJdkProxy(ChannelProxy.class, PublisherCallbackChannel.class);

0 commit comments

Comments
 (0)