Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-713

Refactor karaf main

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 3.0.0
    • karaf
    • None

    Description

      The karaf main project is currently not so well structured.

      The class Main has too many responsibilities and is too big (almost 1500 lines).
      The lock classes are in the main package. They should be moved to a separate package.

      Proposal:
      create package lock and put everything about locking there. The case without locking should be handled as another lock implementation
      Split the Main class into setup of the framework and LifeCycleManager that handles the lock / start and stopping

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: