@ PostConstruct public Object loadConfiguration ( InvocationContext ic ) throws Exception { Object target = ic . getTarget ( ) ; Class targetClass = target . getClass ( ) ; if ( targetClassIsProxied ( targetClass ) ) { targetClass = targetClass . getSuperclass ( ) ; } ConfigBundle configBundleAnnotation = ( ConfigBundle ) targetClass . getDeclaredAnnotation ( ConfigBundle . class ) ; processConfigBundleBeanSetters ( target , targetClass , getKeyPrefix ( targetClass ) , new HashMap <> ( ) , configBundleAnnotation . watch ( ) ) ; return ic . proceed ( ) ; }
Method initialises class fields from configuration .