public void addPathListener(final String path, PathChildrenCacheListener listener) {
		PathChildrenCache cache = mapChildren.get(path);
		if (cache == null) {
			mapChildren.put(path, cache = new PathChildrenCache(zooKeeperConnection.getClient(), path, true));
			try {
				cache.getListenable().addListener(listener);
				cache.start(PathChildrenCache.StartMode.BUILD_INITIAL_CACHE);
			}
			catch (Exception e) {
				throw ZooKeeperUtils.wrapThrowable(e);
			}
		}
		else {
			cache.getListenable().addListener(listener);
		}
	}
Add a {@link PathChildrenCacheListener} for the given path.

@param path the path whose children to listen to
@param listener the children listener
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/test/SingleNodeIntegrationTestSupport.java