Migrate to Asciidoctor Tabs

This commit is contained in:
Rob Winch
2023-04-20 16:21:36 -05:00
committed by rstoyanchev
parent 71154fd16b
commit 39146f9066
243 changed files with 7124 additions and 1779 deletions

View File

@@ -38,12 +38,10 @@ you can instead write the following:
registerBean { Bar(it.getBean()) }
}
----
====
When the class `Bar` has a single constructor, you can even just specify the bean class,
the constructor parameters will be autowired by type:
====
[source,kotlin,indent=0]
----
val context = GenericApplicationContext().apply {

View File

@@ -256,7 +256,6 @@ in order to use `val` instead of `lateinit var`. You can use
{api-spring-framework}/test/context/TestConstructor.html[`@TestConstructor(autowireMode = AutowireMode.ALL)`]
to enable autowiring for all parameters.
====
[source,kotlin,indent=0]
----
@SpringJUnitConfig(TestConfig::class)
@@ -267,7 +266,6 @@ class OrderServiceIntegrationTests(val orderService: OrderService,
// tests that use the injected OrderService and CustomerService
}
----
====
[[per_class-lifecycle]]