摘要:        
instantiateBean protected BeanWrapper instantiateBean(String beanName, RootBeanDefinition mbd) { try { Object beanInstance; if (System.getSecurityMana    阅读全文
posted @ 2022-09-30 22:09
shigp1
阅读(53)
评论(0)
推荐(0)
        
            
        
        
摘要:        
autowireConstructor: protected BeanWrapper autowireConstructor( String beanName, RootBeanDefinition mbd, @Nullable Constructor<?>[] ctors, @Nullable O    阅读全文
posted @ 2022-09-30 21:59
shigp1
阅读(49)
评论(0)
推荐(0)
        
            
        
        
摘要:        
createBeanInstance protected BeanWrapper createBeanInstance(String beanName, RootBeanDefinition mbd, @Nullable Object[] args) { // Make sure bean clas    阅读全文
posted @ 2022-09-30 20:24
shigp1
阅读(86)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、例子 User.java public class User { private Integer id; private String name; private Integer age; public Integer getId() { return id; } public void set    阅读全文
posted @ 2022-09-30 16:55
shigp1
阅读(81)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、例子 Supplier.java @FunctionalInterface public interface Supplier<T> { /** * Gets a result. * * @return a result */ T get(); } java8以后提供的接口,可以看作是生产者,返    阅读全文
posted @ 2022-09-30 14:46
shigp1
阅读(188)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号