Class BindableRuntimeHintsRegistrar

java.lang.Object
org.springframework.boot.context.properties.bind.BindableRuntimeHintsRegistrar
All Implemented Interfaces:
org.springframework.aot.hint.RuntimeHintsRegistrar

public class BindableRuntimeHintsRegistrar extends Object implements org.springframework.aot.hint.RuntimeHintsRegistrar
RuntimeHintsRegistrar that can be used to register ReflectionHints for Bindable types, discovering any nested type it may expose via a property.

This class can be used as a base-class, or instantiated using the forTypes factory methods.

Since:
3.0.0
  • Constructor Details

    • BindableRuntimeHintsRegistrar

      protected BindableRuntimeHintsRegistrar(Class<?>... types)
  • Method Details

    • registerHints

      public void registerHints(org.springframework.aot.hint.RuntimeHints hints, ClassLoader classLoader)
      Specified by:
      registerHints in interface org.springframework.aot.hint.RuntimeHintsRegistrar
    • registerHints

      public void registerHints(org.springframework.aot.hint.RuntimeHints hints)
    • forTypes

      public static BindableRuntimeHintsRegistrar forTypes(Iterable<Class<?>> types)
    • forTypes

      public static BindableRuntimeHintsRegistrar forTypes(Class<?>... types)