public abstract class BaseOpenmrsService extends Object implements 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
OpenmrsService
Constructor and Description |
---|
BaseOpenmrsService() |
Modifier and Type | Method and Description |
---|---|
void |
onShutdown()
Called when the OpenMRS service layer is shutting down
|
void |
onStartup()
Called when the OpenMRS service layer is initializing.
|
public void onShutdown()
OpenmrsService
onShutdown
in interface OpenmrsService
OpenmrsService.onShutdown()
public void onStartup()
OpenmrsService
onStartup
in interface OpenmrsService
OpenmrsService.onStartup()
Copyright © 2024 OpenMRS Inc.. All rights reserved.