zoukankan      html  css  js  c++  java
  • spring源码 RootBeanDefinition类的根接口AttributeAccessor

    /**
     * Interface defining a generic contract for attaching and accessing metadata
     * to/from arbitrary objects.
     *定义用于附加和访问元数据的通用的接口,来自任意对象
     * @author Rob Harrop
     * @since 2.0
     */
    public interface AttributeAccessor {
    
        /**
         * Set the attribute defined by {@code name} to the supplied    {@code value}.
        将name的属性值设置为value*/
        void setAttribute(String name, Object value);
    
        /**
         * Get the value of the attribute identified by {@code name}.
         * Return {@code null} if the attribute doesn't exist.
       获取name的属性值,如果该属性不存在,则返回Null*/
        Object getAttribute(String name);
    
        /**
         * Remove the attribute identified by {@code name} and return its value.
         * Return {@code null} if no attribute under {@code name} is found.
         删除name的属性值,如果找不到Nmae属性的值则返回Null*/
        Object removeAttribute(String name);
    
        /**
         * Return {@code true} if the attribute identified by {@code name} exists.
        如果name属性值存在则返回true,否者返回false*/
        boolean hasAttribute(String name);
    
        /**
         * Return the names of all attributes.
        返回所有的属性名称
    */ String[] attributeNames(); }
  • 相关阅读:
    Linux注意到Makefile
    coco2dx c++ HTTP实现
    怎么样putty打开图形化管理工具,在终端上
    javabean总结
    发布Ubuntu/Linux系统cache,增加可用内存空间
    Java获得正则表达式
    uva 11992 为矩阵更新查询段树
    oracle在schema是什么意思?
    zoj 3288 Domination (可能dp)
    学习算法
  • 原文地址:https://www.cnblogs.com/lkeji388/p/9449267.html
Copyright © 2011-2022 走看看