Refactor karaf main
-------------------

                 Key: KARAF-713
                 URL: https://issues.apache.org/jira/browse/KARAF-713
             Project: Karaf
          Issue Type: Improvement
          Components: runtime
    Affects Versions: 2.2.2, 3.0.0
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 2.2.3, 3.0.0


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


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to