@ -84,7 +84,7 @@ created and initialized, you have a fully configured and executable system or
@@ -84,7 +84,7 @@ created and initialized, you have a fully configured and executable system or
application.
.The Spring IoC container
image::images/container-magic.png[]
image::container-magic.png[]
@ -2727,7 +2727,7 @@ defined by that bean definition. This single instance is stored in a cache of su
@@ -2727,7 +2727,7 @@ defined by that bean definition. This single instance is stored in a cache of su
singleton beans, and all subsequent requests and references for that named bean
return the cached object. The following image shows how the singleton scope works:
image::images/singleton.png[]
image::singleton.png[]
Spring's concept of a singleton bean differs from the singleton pattern as defined in
the Gang of Four (GoF) patterns book. The GoF singleton hard-codes the scope of an
@ -2760,7 +2760,7 @@ singleton scope for stateless beans.
@@ -2760,7 +2760,7 @@ singleton scope for stateless beans.
The following diagram illustrates the Spring prototype scope:
image::images/prototype.png[]
image::prototype.png[]
(A data access object
(DAO) is not typically configured as a prototype, because a typical DAO does not hold
@ -607,7 +607,7 @@ operations need to execute within the same Reactor context in the same reactive
@@ -607,7 +607,7 @@ operations need to execute within the same Reactor context in the same reactive
The following image shows a conceptual view of calling a method on a transactional proxy:
image::images/tx.png[]
image::tx.png[]
[[transaction-declarative-first-example]]
@ -1967,7 +1967,7 @@ logical transactions, and how the propagation setting applies to this difference
@@ -1967,7 +1967,7 @@ logical transactions, and how the propagation setting applies to this difference
[[tx-propagation-required]]
===== Understanding `PROPAGATION_REQUIRED`
image::images/tx_prop_required.png[]
image::tx_prop_required.png[]
`PROPAGATION_REQUIRED` enforces a physical transaction, either locally for the current
scope if no transaction exists yet or participating in an existing 'outer' transaction
@ -2004,7 +2004,7 @@ indicate clearly that a rollback was performed instead.
@@ -2004,7 +2004,7 @@ indicate clearly that a rollback was performed instead.
[[tx-propagation-requires_new]]
===== Understanding `PROPAGATION_REQUIRES_NEW`
image::images/tx_prop_requires_new.png[]
image::tx_prop_requires_new.png[]
`PROPAGATION_REQUIRES_NEW`, in contrast to `PROPAGATION_REQUIRED`, always uses an
independent physical transaction for each affected transaction scope, never
@ -2955,7 +2955,7 @@ The following image shows the exception hierarchy that Spring provides.
@@ -2955,7 +2955,7 @@ The following image shows the exception hierarchy that Spring provides.
(Note that the class hierarchy detailed in the image shows only a subset of the entire
`DataAccessException` hierarchy.)
image::images/DataAccessException.png[]
image::DataAccessException.png[]
@ -8736,7 +8736,7 @@ underlying O-X mapping tool does not do so.
@@ -8736,7 +8736,7 @@ underlying O-X mapping tool does not do so.
The O-X Mapping exception hierarchy is shown in the following figure:
@ -140,7 +140,7 @@ continuity and consistency with each other, they are available side by side, and
@@ -140,7 +140,7 @@ continuity and consistency with each other, they are available side by side, and
from each side benefits both sides. The following diagram shows how the two relate, what they
have in common, and what each supports uniquely:
image::images/spring-mvc-and-webflux-venn.png[]
image::spring-mvc-and-webflux-venn.png[]
We suggest that you consider the following specific points:
@ -154,7 +154,7 @@ are effectively inherited and can be overridden (that is, re-declared) in the Se
@@ -154,7 +154,7 @@ are effectively inherited and can be overridden (that is, re-declared) in the Se
child `WebApplicationContext`, which typically contains beans local to the given `Servlet`.
The following image shows this relationship:
image::images/mvc-context-hierarchy.png[]
image::mvc-context-hierarchy.png[]
The following example configures a `WebApplicationContext` hierarchy:
@ -1114,7 +1114,7 @@ Both the Java configuration (that is, `@EnableWebSocketMessageBroker`) and the X
@@ -1114,7 +1114,7 @@ Both the Java configuration (that is, `@EnableWebSocketMessageBroker`) and the X
workflow. The following diagram shows the components used when the simple built-in message
broker is enabled:
image::images/message-flow-simple-broker.png[]
image::message-flow-simple-broker.png[]
The preceding diagram shows three message channels: