[
https://issues.apache.org/jira/browse/ZOOKEEPER-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
César Álvarez Núñez updated ZOOKEEPER-1172:
-------------------------------------------
Description:
The interface org.apache.zookeeper.client.HostProvider exist but it is
hardcoded to org.apache.zookeeper.client.StaticHostProvider at Zookeeper
constructor.
Now it could be replaced by any other implementation just by calling the new
Zookeeper constructor methods which accept a HostProvider as paramater.
was:
The interface org.apache.zookeeper.client.HostProvider exist but it is
hardcoded to org.apache.zookeeper.client.StaticHostProvider at Zookeeper
constructor.
Now it could be replaced by any other implementation just by pointing the
system property "zookeeper.clientHostProvider" to the class name of your custom
HostProvider implementation.
Release Note: Support for custom org.apache.zookeeper.client.HostProvider
implementation with the help of new Zookeeper constructor methods. (was:
Support for custom org.apache.zookeeper.client.HostProvider implementation.)
> Support for custom org.apache.zookeeper.client.HostProvider implementation.
> ---------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1172
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1172
> Project: ZooKeeper
> Issue Type: Improvement
> Components: java client
> Reporter: César Álvarez Núñez
> Assignee: César Álvarez Núñez
> Attachments: ZOOKEEPER-1172.patch
>
>
> The interface org.apache.zookeeper.client.HostProvider exist but it is
> hardcoded to org.apache.zookeeper.client.StaticHostProvider at Zookeeper
> constructor.
> Now it could be replaced by any other implementation just by calling the new
> Zookeeper constructor methods which accept a HostProvider as paramater.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira