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

        Hide
        Norman Maurer added a comment -

        done

        Show
        Norman Maurer added a comment - done

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development