类 BindableRuntimeHintsRegistrar
java.lang.Object
org.springframework.boot.context.properties.bind.BindableRuntimeHintsRegistrar
- 所有已实现的接口:
RuntimeHintsRegistrar
RuntimeHintsRegistrar that can be used to register ReflectionHints for
Bindable types, discovering any nested type it may expose through a property.
This class can be used as a base-class, or instantiated using the forTypes and
forBindables factory methods.
- 从以下版本开始:
- 3.0.0
- 作者:
- Andy Wilkinson, Moritz Halbritter, Sebastien Deleuze, Phillip Webb
-
构造器概要
构造器限定符构造器说明protectedBindableRuntimeHintsRegistrar(Class<?>... types) Create a newBindableRuntimeHintsRegistrarfor the specified types.protectedBindableRuntimeHintsRegistrar(Bindable<?>... bindables) Create a newBindableRuntimeHintsRegistrarfor the specified bindables. -
方法概要
修饰符和类型方法说明forBindables(Iterable<Bindable<?>> bindables) Create a newBindableRuntimeHintsRegistrarfor the specified bindables.forBindables(Bindable<?>... bindables) Create a newBindableRuntimeHintsRegistrarfor the specified bindables.Create a newBindableRuntimeHintsRegistrarfor the specified types.Create a newBindableRuntimeHintsRegistrarfor the specified types.voidregisterHints(RuntimeHints hints) Contribute hints to the givenRuntimeHintsinstance.voidregisterHints(RuntimeHints hints, ClassLoader classLoader)
-
构造器详细资料
-
BindableRuntimeHintsRegistrar
Create a newBindableRuntimeHintsRegistrarfor the specified types.- 参数:
types- the types to process
-
BindableRuntimeHintsRegistrar
Create a newBindableRuntimeHintsRegistrarfor the specified bindables.- 参数:
bindables- the bindables to process- 从以下版本开始:
- 3.0.8
-
-
方法详细资料
-
registerHints
- 指定者:
registerHints在接口中RuntimeHintsRegistrar
-
registerHints
Contribute hints to the givenRuntimeHintsinstance.- 参数:
hints- the hints contributed so far for the deployment unit
-
forTypes
Create a newBindableRuntimeHintsRegistrarfor the specified types.- 参数:
types- the types to process- 返回:
- a new
BindableRuntimeHintsRegistrarinstance
-
forTypes
Create a newBindableRuntimeHintsRegistrarfor the specified types.- 参数:
types- the types to process- 返回:
- a new
BindableRuntimeHintsRegistrarinstance
-
forBindables
Create a newBindableRuntimeHintsRegistrarfor the specified bindables.- 参数:
bindables- the bindables to process- 返回:
- a new
BindableRuntimeHintsRegistrarinstance - 从以下版本开始:
- 3.0.8
-
forBindables
Create a newBindableRuntimeHintsRegistrarfor the specified bindables.- 参数:
bindables- the bindables to process- 返回:
- a new
BindableRuntimeHintsRegistrarinstance - 从以下版本开始:
- 3.0.8
-