zoukankan      html  css  js  c++  java
  • spring-beans源码分析

    4.3.7版本-----------------一个包名写一篇,后续把包名换成链接。

    org.springframework.beans
    org.springframework.beans.annotation
    org.springframework.beans.factory
    org.springframework.beans.factory.access
    org.springframework.beans.factory.access.el
    org.springframework.beans.factory.annotation
    org.springframework.beans.factory.config
    org.springframework.beans.factory.groovy
    org.springframework.beans.factory.parsing
    org.springframework.beans.factory.serviceloader
    org.springframework.beans.factory.support
    org.springframework.beans.factory.wiring
    org.springframework.beans.factory.xml
    org.springframework.beans.propertyeditors
    org.springframework.beans.support

    一、org.springframework.beans

    编辑属性注册器:封装方法注册JavaBeans。这是一个PropertyEditorRegistrar经营业务中心接口。

    public interface PropertyEditorRegistry {
    
        void registerCustomEditor(Class<?> requiredType, PropertyEditor propertyEditor);
    
        void registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor);
    PropertyEditor findCustomEditor(Class
    <?> requiredType, String propertyPath); }

    PropertyEditorRegistrar:注册自定义策略的接口

    public interface PropertyEditorRegistrar {
        void registerCustomEditors(PropertyEditorRegistry registry);
    }

    下面看一下基本实现类:PropertyEditorRegistrySupport

  • 相关阅读:
    【BZOJ 1370】 团伙
    【BZOJ 1590】 Secret Message
    【BZOJ 2288】 生日礼物
    【POJ 3630】 Phone List
    【BZOJ 1398】 Necklace
    platform驱动之probe函数
    linux输入子系统之按键驱动
    linux输入子系统概念介绍
    操盘策略:KDJ三线合一 必定孕育大牛股
    nandflash裸机程序分析
  • 原文地址:https://www.cnblogs.com/wangpin/p/8526963.html
Copyright © 2011-2022 走看看