@Bean
		public ZooKeeperConnection zooKeeperConnection() {
			boolean isEmbedded = (embeddedZooKeeper != null);
			// the embedded server accepts client connections on a dynamically determined port
			if (isEmbedded) {
				zkClientConnect = "localhost:" + embeddedZooKeeper.getClientPort();
			}
			return setupZookeeperPropertySource(zkClientConnect, isEmbedded);
		}
Beans defined and imported here are shared by the XD Admin Server and Container Server.
@author David Turanski
@author Mark Fisher
@author Ilayaperumal Gopinathan
@author Gary Russell
@author Patrick Peralta
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/SharedServerContextConfiguration.java