- getInstance
There should only be one ServiceContext per openmrs (java virtual machine). This
method should be us
- setService
Allow other services to be added to our service layer
- <init>
The default constructor is private so as to keep only one instance per java vm.
- addAdvice
- addAdvisor
- destroyInstance
Null out the current instance of the ServiceContext. This should be used when
modules are refreshing
- doneRefreshingContext
Should be called right after any spring context refresh This wakes up all calls
to getService that w
- getAddedAdvice
Returns the set of advice added by ServiceContext.
- getAddedAdvisors
Returns the set of advisors added by ServiceContext.
- getAdministrationService
- getApplicationContext
- getCohortService