Class ZookeeperPropertySource
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
org.springframework.cloud.zookeeper.config.ZookeeperPropertySource
PropertySource that stores properties from
Zookeeper inside a map. Properties are loaded upon class initialization.- 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
ConstructorsConstructorDescriptionZookeeperPropertySource(String context, org.apache.curator.framework.CuratorFramework source) -
Method Summary
Methods inherited from class org.springframework.cloud.zookeeper.config.AbstractZookeeperPropertySource
getContext, sanitizeKeyMethods inherited from class org.springframework.core.env.EnumerablePropertySource
containsPropertyMethods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
ZookeeperPropertySource
public ZookeeperPropertySource(String context, org.apache.curator.framework.CuratorFramework source)
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<org.apache.curator.framework.CuratorFramework>
-
getPropertyNames
- Specified by:
getPropertyNamesin classorg.springframework.core.env.EnumerablePropertySource<org.apache.curator.framework.CuratorFramework>
-