Giriş
Şeklen şöyle
Açıklaması şöyle
... which is a callback interface called after all singleton objects managed by the spring container are initialized. The trigger timing is after postProcessAfterInitialization.
Örnek
Şöyle yaparız
public class TestSmartInitializingSingleton implements SmartInitializingSingleton {@Overridepublic void afterSingletonsInstantiated() {...}}
Hiç yorum yok:
Yorum Gönder