@Override
	public Resource[] getResources(final String locationPattern) throws IOException {
		final List<String> paths = new ArrayList<String>();
		archive.getNestedArchives(new Archive.EntryFilter() {
			@Override
			public boolean matches(Archive.Entry entry) {
				String path = "/" + entry.getName().toString();
				boolean match = pathMatcher.match(locationPattern, path);
				if (match) {
					paths.add(path);
				}
				return match;
			}
		});
		Resource[] result = new Resource[paths.size()];
		int i = 0;
		for (String path : paths) {
			result[i++] = new NestedArchiveResource(archive, path);
		}
		return result;
	}
Spring ResourceLoader that can locate nested boot archives inside a root archive.

@author Eric Bottard
spring-xd-module/src/main/java/org/springframework/xd/module/support/ArchiveResourceLoader.java