Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These requirements are met by this proposal.

  • Introduce DI
    • Use DI to setup the Roller instance and managers, i.e. manager classes should no longer be hard-coded into the Roller implementation class, instead they should be injected.
    • Enforce singletons, i.e. singletons should have a private constructor.
    • Use constructor injection to ensure that immutable objects remain immutable.

...