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

Make the ZooKeeperServer more DI friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • server
    • None
    • 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 R. Chirino
        2. ZOOKEEPER-82-b.patch
          70 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              chirino Hiram R. Chirino
              chirino Hiram R. Chirino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: