You're using it as intended.  The new 1.7+ activators give you that
additional .started() method for just this purpose.  Spring has been
restarted and all other started modules are available regardless of start
order.

Ben

On Wed, Apr 25, 2012 at 12:58 PM, Dave Thomas <pihd...@gmail.com> wrote:

> Hi.  question, maybe directed at Ben --
>
> I have a use case where i have a module registering custom htmlformentry
> tags through HtmlFormEntryService.addHandler(..) during module startup.
> This seems to be working fine when called from my other module's started()
> method in its Activator (extends BaseModuleActivator) in a couple of server
> restarts, however, i just want to make sure that there might not be a race
> condition here.
>
> So, is this working because all services from all modules should be
> available when any module's started() method is called, or am I just
> getting lucky by having htmlformentry load before my other module?
>
> d
> ------------------------------
> Click here to 
> unsubscribe<lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]

Reply via email to