org.openmrs.api
Interface OpenmrsService

All Known Subinterfaces:
ActiveListService, AdministrationService, AlertService, CohortService, ConceptService, EncounterService, FormService, HL7Service, LocationService, ObsService, OrderService, PatientService, ProgramWorkflowService, ReportObjectService, SchedulerService, SerializationService, UserService
All Known Implementing Classes:
ActiveListServiceImpl, AdministrationServiceImpl, AlertServiceImpl, BaseOpenmrsService, CohortServiceImpl, ConceptServiceImpl, EncounterServiceImpl, FormServiceImpl, HL7ServiceImpl, LocationServiceImpl, ObsServiceImpl, OrderServiceImpl, PatientServiceImpl, PersonServiceImpl, ProgramWorkflowServiceImpl, ReportObjectServiceImpl, SerializationServiceImpl, TimerSchedulerServiceImpl, UserServiceImpl

public interface OpenmrsService

Base OpenMRS Service Interface All services registered to the ServiceContext are required to implement this interface. It is recommended that all services extend the BaseOpenmrsService abstract class to buffer themselves from changes to this interface.

See Also:
BaseOpenmrsService

Method Summary
 void onShutdown()
          Called when the OpenMRS service layer is shutting down
 void onStartup()
          Called when the OpenMRS service layer is initializing.
 

Method Detail

onStartup

void onStartup()
Called when the OpenMRS service layer is initializing. This occurs when a new module is loaded or during the initial server/api start


onShutdown

void onShutdown()
Called when the OpenMRS service layer is shutting down


OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change