Class AbstractZookeeperPropertySource

java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<org.apache.curator.framework.CuratorFramework>
org.springframework.cloud.zookeeper.config.AbstractZookeeperPropertySource
Direct Known Subclasses:
ZookeeperPropertySource

public abstract class AbstractZookeeperPropertySource extends org.springframework.core.env.EnumerablePropertySource<org.apache.curator.framework.CuratorFramework>
A EnumerablePropertySource that has a notion of a context which is the root folder in Zookeeper.
Since:
1.0.0
Author:
Spencer Gibb
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Field Summary

    Fields inherited from class org.springframework.core.env.PropertySource

    logger, name, source
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractZookeeperPropertySource(String context, org.apache.curator.framework.CuratorFramework source)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected String
     

    Methods inherited from class org.springframework.core.env.EnumerablePropertySource

    containsProperty, getPropertyNames

    Methods inherited from class org.springframework.core.env.PropertySource

    equals, getName, getProperty, getSource, hashCode, named, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AbstractZookeeperPropertySource

      public AbstractZookeeperPropertySource(String context, org.apache.curator.framework.CuratorFramework source)
  • Method Details

    • sanitizeKey

      protected String sanitizeKey(String path)
    • getContext

      public String getContext()