@@ -51,10 +51,9 @@ public class PulsarRuntimeHints implements RuntimeHintsRegistrar {
51
51
public void registerHints (RuntimeHints hints , @ Nullable ClassLoader classLoader ) {
52
52
ReflectionHints reflectionHints = hints .reflection ();
53
53
// The following components need access to declared constructors, invoke declared
54
- // methods
55
- // and introspect all public methods. The components are a mix of JDK classes,
56
- // core Pulsar classes,
57
- // some other shaded components available through Pulsar client.
54
+ // methods and introspect all public methods. The components are a mix of JDK
55
+ // classes, core Pulsar classes, and some other shaded components available
56
+ // through Pulsar client.
58
57
Stream .of (HashSet .class , LinkedHashMap .class , TreeMap .class , Authentication .class ,
59
58
AuthenticationDataProvider .class , SecretsSerializer .class , PulsarAdminBuilderImpl .class ,
60
59
OffloadProcessStatusImpl .class , Commands .class ).forEach (
@@ -72,12 +71,10 @@ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader)
72
71
MemberCategory .INVOKE_DECLARED_METHODS , MemberCategory .INTROSPECT_PUBLIC_METHODS ,
73
72
MemberCategory .DECLARED_CLASSES , MemberCategory .DECLARED_FIELDS )));
74
73
74
+ // @formatter:off
75
75
// These are shaded classes and other inaccessible interfaces/classes (thus using
76
76
// string version of API).
77
- // @formatter:off
78
- Stream .of ("com.github.benmanes.caffeine.cache.SSMSA" ,
79
- "com.github.benmanes.caffeine.cache.PSAMS" ,
80
- "org.apache.pulsar.client.admin.internal.JacksonConfigurator" ,
77
+ Stream .of ("org.apache.pulsar.client.admin.internal.JacksonConfigurator" ,
81
78
"org.apache.pulsar.client.impl.conf.TopicConsumerConfigurationData" ,
82
79
"org.apache.pulsar.client.impl.conf.TopicConsumerConfigurationData$TopicNameMatcher" ,
83
80
"org.apache.pulsar.client.util.SecretsSerializer" ,
@@ -219,7 +216,9 @@ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader)
219
216
"org.apache.pulsar.shade.org.jvnet.hk2.internal.DynamicConfigurationServiceImpl" ,
220
217
"org.apache.pulsar.shade.org.jvnet.hk2.internal.DynamicConfigurationServiceImpl" ,
221
218
"org.apache.pulsar.shade.org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl" ,
222
- "org.apache.pulsar.shade.org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl" )
219
+ "org.apache.pulsar.shade.org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl" ,
220
+ "org.springframework.pulsar.shade.com.github.benmanes.caffeine.cache.SSMSA" ,
221
+ "org.springframework.pulsar.shade.com.github.benmanes.caffeine.cache.PSAMS" )
223
222
.forEach (type -> reflectionHints .registerTypeIfPresent (classLoader , type ,
224
223
builder -> builder .withMembers (MemberCategory .INVOKE_DECLARED_CONSTRUCTORS ,
225
224
MemberCategory .INVOKE_PUBLIC_METHODS , MemberCategory .INVOKE_DECLARED_METHODS ,
0 commit comments