Home / Function/ onSuccess() — spring-boot Function Reference

onSuccess() — spring-boot Function Reference

Architecture documentation for the onSuccess() function in ValidationBindHandler.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 4

Entity Profile

Dependency Diagram

graph TD
  30c012b3_d93d_aee4_6f0c_949990908e4f["onSuccess()"]
  8c452e2b_e610_bb7a_93e9_ed98418f15d0["bindToValueShouldTriggerOnSuccess()"]
  8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| 30c012b3_d93d_aee4_6f0c_949990908e4f
  a5d5dba5_fee8_a2bf_dc7c_6d707785f305["bindToJavaBeanShouldTriggerOnSuccess()"]
  a5d5dba5_fee8_a2bf_dc7c_6d707785f305 -->|calls| 30c012b3_d93d_aee4_6f0c_949990908e4f
  9717b246_35c4_08d7_1def_e10b4e0ebcfb["bindWhenHasCustomDefaultHandlerShouldTriggerOnSuccess()"]
  9717b246_35c4_08d7_1def_e10b4e0ebcfb -->|calls| 30c012b3_d93d_aee4_6f0c_949990908e4f
  7afc6ffc_b6bf_f6c5_66da_4faa52da48d0["mockBindHandler()"]
  7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 -->|calls| 30c012b3_d93d_aee4_6f0c_949990908e4f
  733d79e0_87a6_df0d_bfaa_28fb3f3cd266["onSuccess()"]
  30c012b3_d93d_aee4_6f0c_949990908e4f -->|calls| 733d79e0_87a6_df0d_bfaa_28fb3f3cd266
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  30c012b3_d93d_aee4_6f0c_949990908e4f -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  style 30c012b3_d93d_aee4_6f0c_949990908e4f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/validation/ValidationBindHandler.java lines 77–85

	@Override
	public @Nullable Object onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context,
			Object result) {
		this.boundResults.put(name, result);
		if (context.getConfigurationProperty() != null) {
			this.boundProperties.add(context.getConfigurationProperty());
		}
		return super.onSuccess(name, target, context, result);
	}

Domain

Subdomains

Frequently Asked Questions

What does onSuccess() do?
onSuccess() is a function in the spring-boot codebase.
What does onSuccess() call?
onSuccess() calls 2 function(s): add, onSuccess.
What calls onSuccess()?
onSuccess() is called by 4 function(s): bindToJavaBeanShouldTriggerOnSuccess, bindToValueShouldTriggerOnSuccess, bindWhenHasCustomDefaultHandlerShouldTriggerOnSuccess, mockBindHandler.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free