Versions Compared

Key

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

...

The application entry point is org.isf.menu.gui.Menu.main(), where and the Spring Application Context is started up. crated in org.isf.menu.manager.Context.

The configuration file applicationContext.xml was added to the rsc folder. Remember to add that folder to the build path, so that its contents ends up in the classpath while running in Eclipse.

...

  1. The @Component annotation was added to the class

  2. The constructor was deprecated, since every instance of this class now should be obtained via Spring ApplicationContext

  3. Static variable session was put inside methods. Spring beans are singleton by default, so they must not keep any state in static variables.

  4. The call to the constructor was replaced with MenuContext.getApplicationContext().getBean(ExaminationOperations.class) in every class it occurs (in this case, in src.org.isf.admission.gui.AdmissionBrowser, org.isf.admission.gui.AdmittedPatientBrowser, org.isf.examination.gui.PatientExaminationEdit, org.isf.opd.gui.OpdEditExtended)