31 Ekim 2018 Çarşamba

SpringContext @DependsOn Anotasyonu

Giriş
Açıklaması şöyle.
The@DependsOn annotation can force Spring IoC containers to initialize one or more beans before the bean, which is annotated by the  @DependsOn annotation.

The @DependsOn annotation may be used on any class directly or indirectly annotated with the  @Component or on methods annotated with the @Bean.


Hiç yorum yok:

Yorum Gönder