Open rhakdnj opened 8 months ago
@Component @Primary class QuickSort implement SortingAlgorithm @Component class BubbleSort implement SortingAlgorithm @Component @Qualifier("RadixSortQualifier") class RadixSort implement SortingAlgorithm @Component class ComplexAlgorithm( algorithm: SortingAlgorithm, // @Primary ) @Component class AnotherComplexAlgorithm( // @Qualifier @Qualifier("RadixSortQualifier") algorithm: SortingAlgorithm, )
@Qualifier > @Primary
우선 순위
@Qualifier > @Primary