Class AbstractConfigVisitorNode

    • Constructor Detail

      • AbstractConfigVisitorNode

        public AbstractConfigVisitorNode()
    • Method Detail

      • visit

        public void visit​(ConfigVisitor visitor)
        Description copied from interface: ConfigVisitorNode
        Visit metadata node. e.g. add dependencies to service builder.
        Specified by:
        visit in interface ConfigVisitorNode
        Parameters:
        visitor - the config visitor
      • addChildren

        protected void addChildren​(ConfigVisitor visitor,
                                   List<ConfigVisitorNode> nodes)
        Add children as needed.
        Parameters:
        visitor - the current visitor
        nodes - the nodes list to add to
      • getTempBeanInfo

        protected static BeanInfo getTempBeanInfo​(ConfigVisitor visitor,
                                                  String className)
        Get temp bean info.
        Parameters:
        visitor - the visitor
        className - the class name
        Returns:
        bean info
      • getTempBeanInfo

        protected static BeanInfo getTempBeanInfo​(ConfigVisitor visitor,
                                                  Class<?> clazz)
        Get temp bean info.
        Parameters:
        visitor - the visitor
        clazz - the class
        Returns:
        bean info
      • getTempBeanInfo

        protected static BeanInfo getTempBeanInfo​(Class<?> clazz)
        Get temp bean info.
        Parameters:
        clazz - the class
        Returns:
        bean info
      • getType

        protected static Class<?> getType​(ConfigVisitor visitor,
                                          String className)
        Load class.
        Parameters:
        visitor - the visitor
        className - the class name
        Returns:
        class or null if null class name