@Target(value=METHOD) @Retention(value=RUNTIME) @Bean public @interface Merge
| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | earlyWhether or not this merge should take place early, before entityManagerFactory configuration. | 
| Placement | placementSpecifies how the annotated collection, map or single bean should be inserted into the target collection or map. | 
| int | positionThe position in the target map or collection the annotated collection, map or single bean should be inserted. | 
| Class<MergeBeanStatusProvider> | statusProviderSpecify a class implementing  MergeBeanStatusProviderthat can be used to conditionally determine if the
 merge should take place. | 
| String | targetRefThe Spring bean id of the target collection or map to receive the merge | 
| String | valueAlias 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 © 2020. All rights reserved.