The config location defaults can be overridden via {@link #getConfigLocations}, 2.* Config locations can either denote concrete files like "/myfiles/context.xml" 3.
5、* or Ant-style patterns like "/myfiles/*-context.xml" (see the 4.* {@link org.springframework.util.AntPathMatcher} javadoc for pattern details). 从代码中寻找答案。回到上回的else分支中,因为包含通配符,所以进入第一个子分支。1./** 家用吸氧机价格,家用吸氧机1. * Find all resources that match the given location pattern
6、 via the 2. * Ant-style PathMatcher. Supports resources in jar files and zip files 3. * and in the file system. 4. * @param locationPattern the location pattern to match 5. * @return the result as Resource array 6. * @throws IOException in case of I/O