@Bean
	public ContainerRegistrar containerRegistrar() {
		initializeZooKeeperConnection();
		return new ContainerRegistrar(zooKeeperConnection, containerAttributes,
				containerRepository, deploymentListener());
	}
Container Application Context

@author David Turanski
@author Ilayaperumal Gopinathan
@author Marius Bogoevici
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/container/ContainerConfiguration.java