类 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
-
构造器概要
构造器限定符构造器说明protected
BindableRuntimeHintsRegistrar
(Class<?>... types) Create a newBindableRuntimeHintsRegistrar
for the specified types.protected
BindableRuntimeHintsRegistrar
(Bindable<?>... bindables) Create a newBindableRuntimeHintsRegistrar
for the specified bindables. -
方法概要
修饰符和类型方法说明forBindables
(Iterable<Bindable<?>> bindables) Create a newBindableRuntimeHintsRegistrar
for the specified bindables.forBindables
(Bindable<?>... bindables) Create a newBindableRuntimeHintsRegistrar
for the specified bindables.Create a newBindableRuntimeHintsRegistrar
for the specified types.Create a newBindableRuntimeHintsRegistrar
for the specified types.void
registerHints
(RuntimeHints hints) Contribute hints to the givenRuntimeHints
instance.void
registerHints
(RuntimeHints hints, ClassLoader classLoader)
-
构造器详细资料
-
BindableRuntimeHintsRegistrar
Create a newBindableRuntimeHintsRegistrar
for the specified types.- 参数:
types
- the types to process
-
BindableRuntimeHintsRegistrar
Create a newBindableRuntimeHintsRegistrar
for the specified bindables.- 参数:
bindables
- the bindables to process- 从以下版本开始:
- 3.0.8
-
-
方法详细资料
-
registerHints
- 指定者:
registerHints
在接口中RuntimeHintsRegistrar
-
registerHints
Contribute hints to the givenRuntimeHints
instance.- 参数:
hints
- the hints contributed so far for the deployment unit
-
forTypes
Create a newBindableRuntimeHintsRegistrar
for the specified types.- 参数:
types
- the types to process- 返回:
- a new
BindableRuntimeHintsRegistrar
instance
-
forTypes
Create a newBindableRuntimeHintsRegistrar
for the specified types.- 参数:
types
- the types to process- 返回:
- a new
BindableRuntimeHintsRegistrar
instance
-
forBindables
Create a newBindableRuntimeHintsRegistrar
for the specified bindables.- 参数:
bindables
- the bindables to process- 返回:
- a new
BindableRuntimeHintsRegistrar
instance - 从以下版本开始:
- 3.0.8
-
forBindables
Create a newBindableRuntimeHintsRegistrar
for the specified bindables.- 参数:
bindables
- the bindables to process- 返回:
- a new
BindableRuntimeHintsRegistrar
instance - 从以下版本开始:
- 3.0.8
-