@ -378,7 +378,7 @@ The container also supports creating a bean with {spring-framework-api}++/beans/
@@ -378,7 +378,7 @@ The container also supports creating a bean with {spring-framework-api}++/beans/
. The custom arguments require dynamic introspection of a matching constructor or factory method.
Those arguments cannot be detected by AOT, so the necessary reflection hints will have to be provided manually.
. By-passing the instance supplier means that all other optimizations after creation are skipped as well.
. Bypassing the instance supplier means that all other optimizations after creation are skipped as well.
For instance, autowiring on fields and methods will be skipped as they are handled in the instance supplier.
Rather than having prototype-scoped beans created with custom arguments, we recommend a manual factory pattern where a bean is responsible for the creation of the instance.
@ -270,7 +270,7 @@ is applicable for typical implementations of indexed structures.
@@ -270,7 +270,7 @@ is applicable for typical implementations of indexed structures.
NOTE: `ReflectiveIndexAccessor` also implements `CompilableIndexAccessor` in order to
support xref:core/expressions/evaluation.adoc#expressions-spel-compilation[compilation]
to bytecode for read access. Note, however, that the configured read-method must be
invokable via a `public` class or `public` interface for compilation to succeed.
invocable via a `public` class or `public` interface for compilation to succeed.
The following code listings define a `Color` enum and `FruitMap` type that behaves like a
map but does not implement the `java.util.Map` interface. Thus, if you want to index into
@ -351,10 +351,10 @@ recognized and used as the `PropertyEditor` for `Something`-typed properties.
@@ -351,10 +351,10 @@ recognized and used as the `PropertyEditor` for `Something`-typed properties.
[literal,subs="verbatim,quotes"]
----
com
chank
pop
Something
SomethingEditor // the PropertyEditor for the Something class
└── example
└── things
├── *Something*
└── *SomethingEditor* // the PropertyEditor for the Something class
----
Note that you can also use the standard `BeanInfo` JavaBeans mechanism here as well
@ -366,10 +366,10 @@ following example uses the `BeanInfo` mechanism to explicitly register one or mo
@@ -366,10 +366,10 @@ following example uses the `BeanInfo` mechanism to explicitly register one or mo
[literal,subs="verbatim,quotes"]
----
com
chank
pop
Something
SomethingBeanInfo // the BeanInfo for the Something class
└── example
└── things
├── *Something*
└── *SomethingBeanInfo* // the BeanInfo for the Something class
----
The following Java source code for the referenced `SomethingBeanInfo` class
@ -19,6 +19,6 @@ meta-annotation. If a bootstrapper is not explicitly configured by using
@@ -19,6 +19,6 @@ meta-annotation. If a bootstrapper is not explicitly configured by using
`WebTestContextBootstrapper` is used, depending on the presence of `@WebAppConfiguration`.
Since the `TestContextBootstrapper` SPI is likely to change in the future (to accommodate
new requirements), we strongly encourage implementers not to implement this interface
new requirements), we strongly encourage implementors not to implement this interface
directly but rather to extend `AbstractTestContextBootstrapper` or one of its concrete
@ -269,7 +269,7 @@ The parameters to any of the above macros have consistent meanings:
@@ -269,7 +269,7 @@ The parameters to any of the above macros have consistent meanings:
For strictly sorted maps, you can use a `SortedMap` (such as a `TreeMap`) with a
suitable `Comparator` and, for arbitrary Maps that should return values in insertion
order, use a `LinkedHashMap` or a `LinkedMap` from `commons-collections`.
* `separator`: Where multiple options are available as discreet elements (radio buttons
* `separator`: Where multiple options are available as discrete elements (radio buttons
or checkboxes), the sequence of characters used to separate each one in the list
(such as `<br>`).
* `attributes`: An additional string of arbitrary tags or text to be included within
@ -188,7 +188,7 @@ the content negotiation during the error handling phase will decide which conten
@@ -188,7 +188,7 @@ the content negotiation during the error handling phase will decide which conten
| `View`
| A `View` instance to use for rendering together with the implicit model -- determined
through command objects and `@ModelAttribute` methods. The handler method may also
programmatically enrich the model by declaring a `Model` argument (descried earlier).
programmatically enrich the model by declaring a `Model` argument (described earlier).
| `java.util.Map`, `org.springframework.ui.Model`
| Attributes to be added to the implicit model with the view name implicitly determined
@ -1191,7 +1191,7 @@ open class BeanDefinitionDsl internal constructor (private val init: BeanDefinit
@@ -1191,7 +1191,7 @@ open class BeanDefinitionDsl internal constructor (private val init: BeanDefinit
@ -42,7 +42,7 @@ public abstract class AbstractDataFieldMaxValueIncrementer implements DataFieldM
@@ -42,7 +42,7 @@ public abstract class AbstractDataFieldMaxValueIncrementer implements DataFieldM
@Nullable
privateStringincrementerName;
/** The length to which a string result should be pre-pended with zeroes. */
/** The length to which a string result should be prepended with zeroes. */
protectedintpaddingLength=0;
@ -99,7 +99,7 @@ public abstract class AbstractDataFieldMaxValueIncrementer implements DataFieldM
@@ -99,7 +99,7 @@ public abstract class AbstractDataFieldMaxValueIncrementer implements DataFieldM
@ -182,7 +182,7 @@ public class RedirectView extends AbstractUrlBasedView {
@@ -182,7 +182,7 @@ public class RedirectView extends AbstractUrlBasedView {