Skip to content

Commit

Permalink
spring-projects#4769 - Add missing runtime hints
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Bertin <[email protected]>
  • Loading branch information
neoludo authored Feb 25, 2025
1 parent e366dcb commit f65f9eb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) {

// proxy hints
hints.proxies()
.registerJdkProxy(builder -> builder
.proxiedInterfaces(TypeReference.of("org.springframework.batch.core.StepExecutionListener"))
.proxiedInterfaces(SpringProxy.class, Advised.class, DecoratingProxy.class))
.registerJdkProxy(builder -> builder
.proxiedInterfaces(TypeReference.of("org.springframework.batch.core.repository.JobRepository"))
.proxiedInterfaces(SpringProxy.class, Advised.class, DecoratingProxy.class))
Expand Down

0 comments on commit f65f9eb

Please sign in to comment.