Documentation fixes etc (backported from master)
This commit is contained in:
@@ -10803,7 +10803,7 @@ The following example shows how our notifier can be rewritten to be invoked only
|
||||
.Java
|
||||
----
|
||||
@EventListener(condition = "#blEvent.content == 'my-event'")
|
||||
public void processBlockedListEvent(BlockedListEvent blockedListEvent) {
|
||||
public void processBlockedListEvent(BlockedListEvent blEvent) {
|
||||
// notify appropriate parties via notificationAddress...
|
||||
}
|
||||
----
|
||||
@@ -10811,7 +10811,7 @@ The following example shows how our notifier can be rewritten to be invoked only
|
||||
.Kotlin
|
||||
----
|
||||
@EventListener(condition = "#blEvent.content == 'my-event'")
|
||||
fun processBlockedListEvent(blockedListEvent: BlockedListEvent) {
|
||||
fun processBlockedListEvent(blEvent: BlockedListEvent) {
|
||||
// notify appropriate parties via notificationAddress...
|
||||
}
|
||||
----
|
||||
|
||||
@@ -1085,8 +1085,8 @@ on the target field, or you might want to run a `Converter` only if a specific m
|
||||
interface ConditionalGenericConverter : GenericConverter, ConditionalConverter
|
||||
----
|
||||
|
||||
A good example of a `ConditionalGenericConverter` is an `EntityConverter` that converts
|
||||
between a persistent entity identifier and an entity reference. Such an `EntityConverter`
|
||||
A good example of a `ConditionalGenericConverter` is an `IdToEntityConverter` that converts
|
||||
between a persistent entity identifier and an entity reference. Such an `IdToEntityConverter`
|
||||
might match only if the target entity type declares a static finder method (for example,
|
||||
`findAccount(Long)`). You might perform such a finder method check in the implementation of
|
||||
`matches(TypeDescriptor, TypeDescriptor)`.
|
||||
|
||||
Reference in New Issue
Block a user