Skip to content

Commit 2f5549d

Browse files
ksilzodrotbohm
authored andcommitted
GH-59 - Fixed typos in reference documentation.
"ApplicationEventPublisher" is the class in the sample code, not "ApplicationEventListener". Clarified default serialization.
1 parent 3f77067 commit 2f5549d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/docs/asciidoc/40-events.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ It also means that we will have to touch the class whenever we would like to int
3232

3333
We can change the application module interaction as follows:
3434

35-
.Publishing an application event via Spring's `ApplicationEventListener`
35+
.Publishing an application event via Spring's `ApplicationEventPublisher`
3636
[source, java]
3737
----
3838
@Service
@@ -109,7 +109,7 @@ For details, please consult the <<appendix.schemas, schema overview>> in the app
109109

110110
Each log entry contains the original event in serialized form.
111111
The `EventSerializer` abstraction contained in `spring-modulith-events-core` allows plugging different strategies for how to turn the event instances into a format suitable for the datastore.
112-
Spring Modulith provides a Jackson based implementation through the `spring-modulith-events-jackson` artifact, which registers a `JacksonEventSerializer` consuming an `ObjectMapper` through standard Spring Boot auto-configuration by default.
112+
Spring Modulith provides a Jackson-based JSON implementation through the `spring-modulith-events-jackson` artifact, which registers a `JacksonEventSerializer` consuming an `ObjectMapper` through standard Spring Boot auto-configuration by default.
113113

114114
[[events.starters]]
115115
== Spring Boot Event Registry Starters

src/docs/asciidoc/60-documentation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The application module model created via `ApplicationModules` can be used to cre
55
Spring Modulith's `Documenter` abstraction can produce two different kinds of snippets:
66

77
* C4 and UML component diagrams describing the relationships between the individual application modules
8-
* A so called __Application Module Canvas__, a tabular overview about the module and the most relevant elements in those (Spring beans, aggregate roots, events published and listened to as well as configuration properties).
8+
* A so-called __Application Module Canvas__, a tabular overview about the module and the most relevant elements in those (Spring beans, aggregate roots, events published and listened to as well as configuration properties).
99

1010
[[documentation.component-diagrams]]
1111
== Generating Application Module Component diagrams

src/docs/asciidoc/70-observability.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To activate the instrumentation add the following runtime dependency to your pro
1111
<groupId>org.springframework.modulith</groupId>
1212
<artifactId>spring-modulith-observability</artifactId>
1313
<version>{projectVersion}</version>
14-
<scope>runtime</scope
14+
<scope>runtime</scope>
1515
</dependency>
1616
----
1717

0 commit comments

Comments
 (0)