Skip to content

Commit

Permalink
Bring back reflection hint registration for the Event Registry Resour…
Browse files Browse the repository at this point in the history
…ceRefTypeHandler
  • Loading branch information
filiphr committed Jul 16, 2024
1 parent 95fe35b commit a418549
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
package org.flowable.eventregistry.impl.aot;

import org.flowable.common.engine.impl.aot.FlowableMyBatisResourceHintsRegistrar;
import org.flowable.eventregistry.impl.persistence.ResourceRefTypeHandler;
import org.springframework.aot.hint.MemberCategory;
import org.springframework.aot.hint.RuntimeHints;
import org.springframework.aot.hint.RuntimeHintsRegistrar;

Expand All @@ -24,5 +26,7 @@ public class FlowableEventRegistryRuntimeHints implements RuntimeHintsRegistrar
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
FlowableMyBatisResourceHintsRegistrar.registerMappingResources("org/flowable/eventregistry/db/mapping", hints, classLoader);
hints.reflection()
.registerType(ResourceRefTypeHandler.class, MemberCategory.values());
}
}

0 comments on commit a418549

Please sign in to comment.