@Target(value=METHOD) @Retention(value=RUNTIME) @Bean public @interface Merge
Modifier and Type | Optional Element and Description |
---|---|
boolean |
early
Whether or not this merge should take place early, before entityManagerFactory configuration.
|
Placement |
placement
Specifies how the annotated collection, map or single bean should be inserted into the target collection or map.
|
int |
position
The position in the target map or collection the annotated collection, map or single bean should be inserted.
|
Class<MergeBeanStatusProvider> |
statusProvider
Specify a class implementing
MergeBeanStatusProvider that can be used to conditionally determine if the
merge should take place. |
String |
targetRef
The Spring bean id of the target collection or map to receive the merge
|
String |
value
Alias for
targetRef() |
@AliasFor(value="targetRef") public abstract String value
targetRef()
#targetRef()}
@AliasFor(value="value") public abstract String targetRef
public abstract Placement placement
Placement.APPEND
.public abstract int position
placement()
param is set to Placement.SPECIFIC
.public abstract Class<MergeBeanStatusProvider> statusProvider
MergeBeanStatusProvider
that can be used to conditionally determine if the
merge should take place. The class will be instantiated and executed at runtime during bean post processing.public abstract boolean early
Copyright © 2022. All rights reserved.