Class RuntimeBeanReference

    • Constructor Detail

      • RuntimeBeanReference

        public RuntimeBeanReference​(String beanName)
        Create a new RuntimeBeanReference to the given bean name, without explicitly marking it as reference to a bean in the parent factory.
        Parameters:
        beanName - name of the target bean
      • RuntimeBeanReference

        public RuntimeBeanReference​(String beanName,
                                    boolean toParent)
        Create a new RuntimeBeanReference to the given bean name, with the option to mark it as reference to a bean in the parent factory.
        Parameters:
        beanName - name of the target bean
        toParent - whether this is an explicit reference to a bean in the parent factory