Class DependentPropertyInitializer


  • public class DependentPropertyInitializer
    extends java.lang.Object
    The DependentPropertyInitializer is called in the post construct phase when creating a bean and resolves all fields annotated with DependentValue using an instance of IPropertyInitializer.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on May 13, 2016
    • Constructor Detail

      • DependentPropertyInitializer

        public DependentPropertyInitializer()
    • Method Detail

      • initializeAnnotatedFields

        public void initializeAnnotatedFields​(java.lang.Object bean)
                                       throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException
      • replaceValues

        private void replaceValues​(java.lang.Object bean,
                                   java.lang.Class<?> aClass)
                            throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException