anchor.diff:  ----
   
   [[spring-cloud-zookeeper-dependencies]]
  +
  +== Zookeeper Dependencies
  +
   === Using the Zookeeper Dependencies
  +
   Spring Cloud Zookeeper gives you a possibility to provide dependencies of your application as properties. As dependencies you can understand other applications that are registered
   in Zookeeper and which you would like to call via https://github.com/spring-cloud/spring-cloud-netflix/blob/master/docs/src/main/asciidoc/spring-cloud-netflix.adoc#spring-cloud-feign[Feign] (a REST client builder)
   and also https://github.com/spring-cloud/spring-cloud-netflix/blob/master/docs/src/main/asciidoc/spring-cloud-netflix.adoc#spring-cloud-ribbon[Spring `RestTemplate`].
  
positive.code: The interface gives you one method:
  
  ----
      /**
      * Method executed upon state change of a dependency
      *
      * @param dependencyName - alias from microservice configuration {@see ZookeeperDependencies}
      * @param newState
      */
      void stateChanged(String dependencyName, DependencyState newState);
  ----
  
  
negative.code: 
  You can read more about Spring Cloud Zookeeper Presence Checker in the following sections.
  
  ==== Stubs
  
  You can provide a colon separated path to the JAR containing stubs of the dependency. Example
  
  