EagerLoad'ing a service means that the service is instantiated when the registry is started. Non-eagerloaded services are instantiated when the service is used for the first time. Because you want you Quartz service to be running at the start you can add the EagerLoad annotation to make sure that the Quartz service is started at registry start.
> I just discover this EagerLoad, is it correct that either of one works, > need to use both? No afaik you do not need both Martijn On Sun, 2008-10-12 at 04:06 -0700, Angelo Chen wrote: > Hi Martijn, > > I use public static void contributeRegistryStartup, and it works. > I just discover this EagerLoad, is it correct that either of one works, no > need to use both? > > Angelo > > > Martijn Brinkers (List)-2 wrote: > > > > You can flag the service to eager load (see @EagerLoad) > > > > Martijn Brinkers > > > > On Sat, 2008-10-11 at 02:47 -0700, Angelo Chen wrote: > >> Hi, > >> > >> I have a service that uses Quartz to fire an event every minute, I'd like > >> to > >> know how to start this service once the application is loaded? thanks. > >> > >> Angelo > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]