spring(3) 属性转换为对象

属性转换为 对象

ref —> RuntimeBeanReference

value —> TypedStringValue

subElement —> parsePropertySubElement(subElement, bd); bd为母容器

子元素

—> RuntimeBeanReferenc(beanName,parent)


                            --->   RuntimeBeanReferenc(beanName)




         --->   typedValue = new TypedStringValue(value,targetTypeName);


  

    
        
                            --->   ManagedArray target = new ManagedArray(elementType, nl.getLength());
                         --->    NodeValue = parsePropertySubElement(node,bd,defaultElementType);



    
        
                         --->   ManagedList target = new ManagedList(nl.getLength());



    
        
                          --->   ManagedSet target = new ManagedSet(nl.getLength());





    
        
                          --->   ManagedMap map = new ManagedMap(entryEles.s



key   ---  >    buildTypedStringValueForMap(key-name, string, );   
            TypedStringValue typedValue = buildTypedStringValue(key-name, string);

key-ref    --->  new  RuntimeReference(refname)

key-ele     --->  
                    
                    
                              --- >  parsePropertySubElement(subElement, bd, defaultKeyTypeName);



value  -->

value-ref  -->

value-ele   --> 
                                     
                


属性转换


ValueHolder
 
  

                            
                        
                    
                    
                    

你可能感兴趣的:(JavaEE)