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

registerBundle() — spring-boot Function Reference

Architecture documentation for the registerBundle() function in DefaultSslBundleRegistry.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 8

Entity Profile

Dependency Diagram

graph TD
  57be9bb5_de42_ee29_843b_d909abc58185["registerBundle()"]
  41cd76d7_48b9_fa25_7f50_c038acb01cb4["DefaultSslBundleRegistry()"]
  41cd76d7_48b9_fa25_7f50_c038acb01cb4 -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  2e7b34c7_39f4_fe2f_cb52_d22fb0f6dbb5["nullKeyStore()"]
  2e7b34c7_39f4_fe2f_cb52_d22fb0f6dbb5 -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  531137db_4220_b1d6_9af0_8305b9ad8b21["trustStoreCertificatesShouldProvideSslInfo()"]
  531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  cfdc167b_c621_921d_65e7_e082693c40e8["bothKeyStoreAndTrustStoreCertificatesShouldProvideSslInfo()"]
  cfdc167b_c621_921d_65e7_e082693c40e8 -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  d4618821_15b3_d3f2_a868_a60ba4ce9753["separateKeyStoreAndTrustStoreShouldProvideSslInfo()"]
  d4618821_15b3_d3f2_a868_a60ba4ce9753 -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  9789c2e0_5221_552c_d4a1_5acdb674af9b["createSslInfo()"]
  9789c2e0_5221_552c_d4a1_5acdb674af9b -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  d6d68703_474c_c763_a38a_ffbbef1ef2ce["shouldWatchJksBundles()"]
  d6d68703_474c_c763_a38a_ffbbef1ef2ce -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  8d99bf84_3fa4_5628_f2fd_75983da797ee["shouldWatchPemBundles()"]
  8d99bf84_3fa4_5628_f2fd_75983da797ee -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  f10dc1bc_30df_8a90_fa43_3bef50efaf3d["RegisteredSslBundle()"]
  57be9bb5_de42_ee29_843b_d909abc58185 -->|calls| f10dc1bc_30df_8a90_fa43_3bef50efaf3d
  style 57be9bb5_de42_ee29_843b_d909abc58185 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/ssl/DefaultSslBundleRegistry.java lines 58–65

	@Override
	public void registerBundle(String name, SslBundle bundle) {
		Assert.notNull(name, "'name' must not be null");
		Assert.notNull(bundle, "'bundle' must not be null");
		RegisteredSslBundle previous = this.registeredBundles.putIfAbsent(name, new RegisteredSslBundle(name, bundle));
		Assert.state(previous == null, () -> "Cannot replace existing SSL bundle '%s'".formatted(name));
		this.registerHandlers.forEach((handler) -> handler.accept(name, bundle));
	}

Domain

Subdomains

Calls

  • RegisteredSslBundle()

Frequently Asked Questions

What does registerBundle() do?
registerBundle() is a function in the spring-boot codebase.
What does registerBundle() call?
registerBundle() calls 1 function(s): RegisteredSslBundle.
What calls registerBundle()?
registerBundle() is called by 8 function(s): DefaultSslBundleRegistry, bothKeyStoreAndTrustStoreCertificatesShouldProvideSslInfo, createSslInfo, nullKeyStore, separateKeyStoreAndTrustStoreShouldProvideSslInfo, shouldWatchJksBundles, shouldWatchPemBundles, trustStoreCertificatesShouldProvideSslInfo.

Analyze Your Own Codebase

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

Try Supermodel Free