- Timestamp:
- 02/19/08 17:54:38 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/src/api/org/openmrs/api/context/Context.java
r3038 r3426 546 546 */ 547 547 public static void startup(Properties props) { 548 // do any context database specific startup 548 549 getContextDAO().startup(props); 550 551 // find/set/check whether the current database version is compatible 549 552 checkDatabaseVersion(); 550 553 551 // Loop over each "module" and startup each with the custom 552 // properties 554 // this should be first in the startup routines so that the application 555 // data directory can be set from the runtime properties 556 OpenmrsUtil.startup(props); 557 558 // Loop over each module and startup each with these custom properties 553 559 ModuleUtil.startup(props); 554 OpenmrsUtil.startup(props); 560 561 // start the scheduled tasks 555 562 SchedulerUtil.startup(props); 556 563 564 // add any privileges/roles that /must/ exist for openmrs to work correctly. 565 // TODO: Should this be one of the first things executed at startup? 557 566 checkCoreDataset(); 558 567 }