org.openmrs.api.impl
Class BaseOpenmrsService

java.lang.Object
  extended by org.openmrs.api.impl.BaseOpenmrsService
All Implemented Interfaces:
OpenmrsService
Direct Known Subclasses:
ActiveListServiceImpl, AdministrationServiceImpl, AlertServiceImpl, CohortServiceImpl, ConceptServiceImpl, EncounterServiceImpl, FormServiceImpl, HL7ServiceImpl, LocationServiceImpl, ObsServiceImpl, OrderServiceImpl, PatientServiceImpl, PersonServiceImpl, ProgramWorkflowServiceImpl, ReportObjectServiceImpl, SerializationServiceImpl, TimerSchedulerServiceImpl, UserServiceImpl

public abstract class BaseOpenmrsService
extends java.lang.Object
implements OpenmrsService

Default method implementations for the OpenmrsService.

It is recommended that all services extend this class instead of simply implementing the OpenmrsService class. This will allow for some buffer room so that inheriting classes don't have to immediately implement all methods in OpenmrsService

See Also:
OpenmrsService

Constructor Summary
BaseOpenmrsService()
           
 
Method Summary
 void onShutdown()
          Called when the OpenMRS service layer is shutting down
 void onStartup()
          Called when the OpenMRS service layer is initializing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseOpenmrsService

public BaseOpenmrsService()
Method Detail

onShutdown

public void onShutdown()
Description copied from interface: OpenmrsService
Called when the OpenMRS service layer is shutting down

Specified by:
onShutdown in interface OpenmrsService
See Also:
OpenmrsService.onShutdown()

onStartup

public void onStartup()
Description copied from interface: OpenmrsService
Called when the OpenMRS service layer is initializing. This occurs when a new module is loaded or during the initial server/api start

Specified by:
onStartup in interface OpenmrsService
See Also:
OpenmrsService.onStartup()

OpenMRS-1.7.x

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