Skip to content

Commit 2712c55

Browse files
ciberkleidodrotbohm
authored andcommitted
GH-943 - Polishing.
1 parent 79f40e9 commit 2712c55

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/docs/antora/modules/ROOT/pages/fundamentals.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ In a Spring Boot application, an application module is a unit of functionality t
1717
* Internal implementation components that are not supposed to be accessed by other modules.
1818
* References to API exposed by other modules in the form of Spring bean dependencies, application events listened to and configuration properties exposed, usually referred to as _required interface_.
1919

20-
Spring Moduliths provides different ways of expressing modules within Spring Boot applications, primarily differing in the level of complexity involved in the overall arrangement.
20+
Spring Modulith provides different ways of expressing modules within Spring Boot applications, primarily differing in the level of complexity involved in the overall arrangement.
2121
This allows developers to start simple and naturally move to more sophisticated means as and if needed.
2222

2323
[[modules.application-modules]]
2424
=== The `ApplicationModules` Type
2525

26-
Spring Moduliths allows to inspect a codebase to derive an application module model based on the given arrangement and optional configuration.
26+
Spring Modulith allows to inspect a codebase to derive an application module model based on the given arrangement and optional configuration.
2727
The `spring-modulith-core` artifact contains `ApplicationModules` that can be pointed to a Spring Boot application class:
2828

2929
.Creating an application module model
@@ -397,7 +397,7 @@ package example.inventory
397397
[[customizing-modules-arrangement]]
398398
== Customizing the Application Modules Arrangement
399399

400-
Spring Moduliths allows to configure some core aspects around the application module arrangement you create via the `@Modulithic` annotation to be used on the main Spring Boot application class.
400+
Spring Modulith allows to configure some core aspects around the application module arrangement you create via the `@Modulithic` annotation to be used on the main Spring Boot application class.
401401

402402
[tabs]
403403
======
@@ -462,7 +462,7 @@ The annotation exposes the following attributes to customize:
462462
=== Customizing Module Detection
463463

464464
By default, application modules will be expected to be located in direct sub-packages of the package the Spring Boot application class resides in.
465-
An alternative detection strategy can be activated to only consider package explicitly annotated, either via Spring Modulith's `@ApplicationModule` or jMolecules `@Module` annotation.
465+
An alternative detection strategy can be activated to only consider packages explicitly annotated, either via Spring Modulith's `@ApplicationModule` or jMolecules `@Module` annotation.
466466
That strategy can be activated by configuring the `spring.modulith.detection-strategy` to `explicitly-annotated`.
467467

468468
.Switching the application module detection strategy to only consider annotated packages
@@ -471,7 +471,7 @@ That strategy can be activated by configuring the `spring.modulith.detection-str
471471
spring.modulith.detection-strategy=explicitly-annotated
472472
----
473473

474-
If the neither default application module detection strategy nor the manually annotated one does not work for your application, the detection of the modules can be customized by providing an implementation of `ApplicationModuleDetectionStrategy`.
474+
If neither the default application module detection strategy nor the manually annotated one works for your application, the detection of the modules can be customized by providing an implementation of `ApplicationModuleDetectionStrategy`.
475475
That interface exposes a single method `Stream<JavaPackage> getModuleBasePackages(JavaPackage)` and will be called with the package the Spring Boot application class resides in.
476476
You can then inspect the packages residing within that and select the ones to be considered application module base packages based on a naming convention or the like.
477477

0 commit comments

Comments
 (0)