Açıklaması şöyle
Örnek
Delayed injection is possible with a Provider, which resembles Spring’s ObjectFactory:...The call to “get()” throws an exception if there is no unique bean for this dependency.
Şöyle yaparız
@Injectprivate Provider<Pet> petProvider;...Pet pet = petFactory.get();
Hiç yorum yok:
Yorum Gönder