类的使用
org.springframework.boot.context.properties.bind.Binder
使用Binder的程序包
程序包
说明
Low level support for Cloud deployments.
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
Support for
@ConfigurationProperties binding.-
org.springframework.boot.cloud中Binder的使用
参数类型为Binder的org.springframework.boot.cloud中的方法修饰符和类型方法说明booleanCloudPlatform.isEnforced(Binder binder) Determines if the platform is enforced by looking at the"spring.main.cloud-platform"configuration property. -
org.springframework.boot.context.config中Binder的使用
修饰符和类型方法说明ConfigDataLocationResolverContext.getBinder()Provides access to a binder that can be used to obtain previously contributed values.限定符构造器说明StandardConfigDataLocationResolver(DeferredLogFactory logFactory, Binder binder, ResourceLoader resourceLoader) Create a newStandardConfigDataLocationResolverinstance. -
org.springframework.boot.context.properties.bind中Binder的使用
修饰符和类型方法说明static BinderBinder.get(Environment environment) Create a newBinderinstance from the specified environment.static BinderBinder.get(Environment environment, BindHandler defaultBindHandler) Create a newBinderinstance from the specified environment.BindContext.getBinder()Return the source binder that is performing the bind operation.