@Override
	public Set<String> find(String name, ModuleType type) {
		String path = Paths.build(MODULES_NODE, type.toString(), name, DEPENDENCIES_NODE);
		try {
			List<String> results = connection.getClient().getChildren().forPath(path);
			return (results != null) ? new HashSet<String>(results) : Collections.<String> emptySet();
		}
		catch (NoNodeException e) {
			return Collections.emptySet();
		}
		catch (Exception e) {
			throw ZooKeeperUtils.wrapThrowable(e);
		}
	}
ZooKeeper based implementation of {@link ModuleDependencyRepository} that writes each dependency to a node, such as:
{@code /xd/modules/[moduletype]/[modulename]/dependencies/[target]}.

@author Mark Fisher
@author David Turanski
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/store/ZooKeeperModuleDependencyRepository.java