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

  • 相关阅读:
    Python 命令详解
    redhat 6 / centos 6 搭建Django环境
    Linux rsync 命令详解
    Python 文件处理
    [网络流24题]最长不下降子序列问题
    [网络流24题]圆桌问题
    BZOJ 4675(点分治)
    LOJ 2183 / SDOI2015 序列统计 (DP+矩阵快速幂)
    BZOJ 3931 (网络流+最短路)
    [网络流24题]魔术球问题
  • 原文地址:https://www.cnblogs.com/wangpin/p/8526963.html
Copyright © 2011-2022 走看看