org.springframework.beans.BeanMetadataElement

接口
BeanMetadataElement

/**

  • Interface to be implemented by bean metadata elements

  • that carry a configuration source object.

  • @author Juergen Hoeller

  • @since 2.0
    */
    public interface BeanMetadataElement {

    /**

    • Return the configuration source {@code Object} for this metadata element
    • (may be {@code null}).
      */
      @Nullable
      default Object getSource() {
      return null;
      }

}

posted on 2022-11-21 12:11  heidsoft  阅读(90)  评论(0编辑  收藏  举报