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

  • 相关阅读:
    jquery选择器中逗号的使用
    超大文件上传和断点续传的代码
    超大文件上传和断点续传的源代码
    超大文件上传和断点续传的源码
    超大文件上传和断点续传的控件
    超大文件上传和断点续传的插件
    杨辉三角
    pkg-config的用法
    c++类的实例化,有没有new的区别
    正则表达式中元字符
  • 原文地址:https://www.cnblogs.com/wangpin/p/8526963.html
Copyright © 2011-2022 走看看