Make the ZooKeeperServer more DI friendly

                 Key: ZOOKEEPER-82
             Project: Zookeeper
          Issue Type: Improvement
          Components: server
            Reporter: Hiram Chirino

Proposed changes were discussed in [this mailing list 

Basic goals are: 
* Decouple the current configuration system from the public API.  I
see stuff like ZooKeeperServer being coupled to ServerConfig a bit.
* Allow the use of setter injection in addition to constructor
injection. This is the most important thing needed to let spring more
easily configure the objects.
* Move the main() methods out of the ZooKeeperServer class.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to