MyBatis之VFS

MyBatis官方文档

  • MyBatis官方文档
  • ORM框架
  • Provides a very simple API for accessing resources within an application server.

核心方法

  public static void addImplClass(Class<? extends VFS> clazz) {
    if (clazz != null) {
      USER_IMPLEMENTATIONS.add(clazz);
    }
  }
  
  public abstract boolean isValid();
  
  public List<String> list(String path) throws IOException {
    List<String> names = new ArrayList<String>();
    for (URL url : getResources(path)) {
      names.addAll(list(url, path));
    }
    return names;
  }

相关博客

  • Mybatis源码分析(六):mybatis可配置属性VFS
  • Mybatis源码-VFS(虚拟文件系统)

你可能感兴趣的:(mybatis-3.4.6,MyBatis源码解析,VFS,MyBatis,源码)