Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-82

Make the ZooKeeperServer more DI friendly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: server
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Proposed changes were discussed in this mailing list thread:

      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.

        Attachments

        1. ZOOKEEPER-82-b.patch
          67 kB
          Hiram Chirino
        2. ZOOKEEPER-82-b.patch
          70 kB
          Patrick Hunt

          Issue Links

            Activity

              People

              • Assignee:
                chirino Hiram Chirino
                Reporter:
                chirino Hiram Chirino
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: