bind() — spring-boot Function Reference
Architecture documentation for the bind() function in Binder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] 39ef021c_ae99_f6d7_d1c9_3905f466f9b5["bindToSpringApplication()"] 39ef021c_ae99_f6d7_d1c9_3905f466f9b5 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 1c0f4959_8082_4cc4_44ff_ee77e50ffeb0["ConfigDataEnvironment()"] 1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 5211a7d2_dc83_5b6b_e39c_684f3007062c["bindLocations()"] 5211a7d2_dc83_5b6b_e39c_684f3007062c -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 92915ccd_e778_0255_307b_110eec0980aa["getIncludedProfiles()"] 92915ccd_e778_0255_307b_110eec0980aa -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 a28ebf2a_3631_b64d_02d7_33fb548a6396["get()"] a28ebf2a_3631_b64d_02d7_33fb548a6396 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 994d7355_9079_f3f8_1646_b7d0f4cc95b5["Profiles()"] 994d7355_9079_f3f8_1646_b7d0f4cc95b5 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 8445b180_4ad0_93ed_c3d2_c831b86926c0["getProfiles()"] 8445b180_4ad0_93ed_c3d2_c831b86926c0 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 5d847522_f310_c12e_922a_0cfac89e5f1a["get()"] 5d847522_f310_c12e_922a_0cfac89e5f1a -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 06b9f324_6bf7_7509_7d16_22d0b15e1e33["getConfigNames()"] 06b9f324_6bf7_7509_7d16_22d0b15e1e33 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 861a744c_751f_b36d_71fc_d9f5b37b8039["bindLoggerGroups()"] 861a744c_751f_b36d_71fc_d9f5b37b8039 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 478546f3_4485_d0db_1e4f_dca03580c35a["setLogLevels()"] 478546f3_4485_d0db_1e4f_dca03580c35a -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 e87455c4_2bcc_2604_575c_350679e30be6["bind()"] e87455c4_2bcc_2604_575c_350679e30be6 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 204e3893_56df_fd2d_7084_1ca7681e657c["bindOrCreate()"] 204e3893_56df_fd2d_7084_1ca7681e657c -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 da46db46_d34d_a4fc_45c1_4ceb203ec534["bindAggregate()"] da46db46_d34d_a4fc_45c1_4ceb203ec534 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 style 8297d150_846a_4cc4_47ca_e6d5a70497f3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java lines 234–236
public <T> BindResult<T> bind(String name, Class<T> target) {
return bind(name, Bindable.of(target));
}
Domain
Subdomains
Called By
- ConfigDataEnvironment()
- Profiles()
- bind()
- bind()
- bindAggregate()
- bindDataObject()
- bindLocations()
- bindLoggerGroups()
- bindOrCreate()
- bindShouldBindWithoutHandler()
- bindShouldFailIfExistingValueIsInvalid()
- bindShouldFailWithAccessToBoundProperties()
- bindShouldFailWithAccessToNameAndValue()
- bindShouldFailWithAccessToOrigin()
- bindShouldFailWithHandler()
- bindShouldNotValidateDepthGreaterThanZero()
- bindShouldNotValidateIfOtherHandlersInChainThrowError()
- bindShouldValidateIfOtherHandlersInChainIgnoreError()
- bindShouldValidateIfOtherHandlersInChainReplaceErrorWithResult()
- bindShouldValidateNestedProperties()
- bindShouldValidateWithoutAnnotation()
- bindToArrayFromCommaStringPropertyDoesNotFailOnEmptyElements()
- bindToArrayFromCommaStringPropertySetsOrigin()
- bindToArrayFromIndexedPropertiesSetsOrigin()
- bindToPackagePrivateClassShouldBindToInstance()
- bindToSpringApplication()
- bindToValueObjectFromCommaStringPropertyDoesNotFailOnEmptyElements()
- bindToValueObjectFromCommaStringPropertySetsOrigin()
- bindToValueObjectFromIndexedPropertiesSetsOrigin()
- bindWhenExceptionInNestedContextShouldFail()
- bindWhenExceptionNotIgnorableShouldFail()
- bindWhenHandlerNotPresentShouldFail()
- bindWhenIgnoringErrorsShouldBind()
- bindWhenNotIgnoringErrorsShouldFail()
- bindWhenNotUsingNoUnboundElementsHandlerShouldBind()
- bindWhenTopLevelContextAndExceptionIgnorableShouldNotFail()
- bindWhenUsingNoUnboundElementsHandlerAndUnboundCollectionElementsWithInvalidPropertyShouldThrowException()
- bindWhenUsingNoUnboundElementsHandlerAndUnboundListElementsShouldThrowException()
- bindWhenUsingNoUnboundElementsHandlerShouldBind()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfPrefixDifferent()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundCollectionProperties()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundNestedCollectionProperties()
- bindWhenUsingNoUnboundElementsHandlerShouldBindIfUnboundSystemProperties()
- bindWhenUsingNoUnboundElementsHandlerThrowException()
- createExposesEnvironmentBinderToConfigDataLocationResolvers()
- get()
- get()
- get()
- get()
- get()
- get()
- getBinderProvidesBinder()
- getBinderWhenFailOnBindToInactiveSourceWithFirstInactiveThrowsException()
- getBinderWhenFailOnBindToInactiveSourceWithLastInactiveThrowsException()
- getBinderWhenFailOnBindToInactiveSourceWithResolveToInactiveThrowsException()
- getBinderWhenHasInactiveIgnoresInactive()
- getBinderWhenHasMultipleSourcesPicksFirst()
- getBinderWhenHasPlaceholderAndInactiveResolvesPlaceholderOnlyFromActive()
- getBinderWhenHasPlaceholderResolvesPlaceholder()
- getBound()
- getConfigNames()
- getExcludeAutoConfigurationsProperty()
- getIncludedProfiles()
- getMatchOutcome()
- getOverrides()
- getProfileBound()
- getProfiles()
- onApplicationEvent()
- runWhenImportingIncludesParentOrigin()
- setLogLevels()
- validateMapValues()
- validateMapValuesWithNonUniformSource()
- validationErrorsForCamelCaseFieldsShouldContainRejectedValue()
- validationShouldBeSkippedIfPreviousValidationErrorPresent()
- withProcessedImportsProvidesLocationResolverContextWithAccessToBinder()
Source
Frequently Asked Questions
What does bind() do?
bind() is a function in the spring-boot codebase.
What does bind() call?
bind() calls 4 function(s): bindObject, handleBindError, handleBindResult, of.
What calls bind()?
bind() is called by 75 function(s): ConfigDataEnvironment, Profiles, bind, bind, bindAggregate, bindDataObject, bindLocations, bindLoggerGroups, and 67 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free