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

shouldWatchJksBundles() — spring-boot Function Reference

Architecture documentation for the shouldWatchJksBundles() function in SslPropertiesBundleRegistrarTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d6d68703_474c_c763_a38a_ffbbef1ef2ce["shouldWatchJksBundles()"]
  57be9bb5_de42_ee29_843b_d909abc58185["registerBundle()"]
  d6d68703_474c_c763_a38a_ffbbef1ef2ce -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  b2d44c2a_d059_d3cf_743c_e19e1850fca7["pathEndingWith()"]
  d6d68703_474c_c763_a38a_ffbbef1ef2ce -->|calls| b2d44c2a_d059_d3cf_743c_e19e1850fca7
  9daf3889_6b23_6f27_599f_1d3617c46c31["getBundle()"]
  d6d68703_474c_c763_a38a_ffbbef1ef2ce -->|calls| 9daf3889_6b23_6f27_599f_1d3617c46c31
  style d6d68703_474c_c763_a38a_ffbbef1ef2ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/SslPropertiesBundleRegistrarTests.java lines 66–78

	@Test
	void shouldWatchJksBundles() {
		JksSslBundleProperties jks = new JksSslBundleProperties();
		jks.setReloadOnUpdate(true);
		jks.getKeystore().setLocation("classpath:org/springframework/boot/autoconfigure/ssl/test.jks");
		jks.getKeystore().setPassword("secret");
		jks.getTruststore().setLocation("classpath:org/springframework/boot/autoconfigure/ssl/test.jks");
		jks.getTruststore().setPassword("secret");
		this.properties.getBundle().getJks().put("bundle1", jks);
		this.registrar.registerBundles(this.registry);
		then(this.registry).should(times(1)).registerBundle(eq("bundle1"), any());
		then(this.fileWatcher).should().watch(assertArg((set) -> pathEndingWith(set, "test.jks")), any());
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does shouldWatchJksBundles() do?
shouldWatchJksBundles() is a function in the spring-boot codebase.
What does shouldWatchJksBundles() call?
shouldWatchJksBundles() calls 3 function(s): getBundle, pathEndingWith, registerBundle.

Analyze Your Own Codebase

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

Try Supermodel Free