James Server
  1. James Server
  2. JAMES-966

Refactor LoaderService to not create instances of class on its own

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      The current LoaderService implementation create instances by using newInstance() which is a bad practice (IMHO). Instances should only get created by the container (spring). Using a BeanFactoryPostProcessor is prolly the way to go.

        Activity

        Norman Maurer created issue -
        Norman Maurer made changes -
        Field Original Value New Value
        Assignee Norman Maurer [ norman ]
        Norman Maurer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12497808 ] Default workflow, editable Closed status [ 12566451 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566451 ] jira [ 12581847 ]

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Norman Maurer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development