@Autowired
private ZooKeeperConnection zooKeeperConnection;
@Bean
public ApplicationListener<?> xdInitializer(ApplicationContext context) {
XdConfigLoggingInitializer delegate = new XdConfigLoggingInitializer(true);
delegate.setEnvironment(context.getEnvironment());
delegate.setContainerAttributes(containerAttributes);
return new SourceFilteringListener(context, delegate);
}