bulbulpaul
03/07/2019, 4:47 PM@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CLASS, AnnotationTarget.FIELD)
@Retention(AnnotationRetention.RUNTIME)
@Inherited
@Qualifier
annotation class Extra
If there are multiple beans implementing the same interface, we used the Annotation class using the above @Qualifier.
This time, I think that there are the following methods when it comes to describing it in Bean DSL.
a: Define it as ref<>() where necessary in the Bean DSL.
b: Specify with @Qualifier during constructor injection
If you know other one how to implement it, please let tell me...😅sdeleuze
03/07/2019, 7:19 PMbulbulpaul
03/09/2019, 1:29 AM