RE: Barracuda initializeLocal Question....
Kirk Daries <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <D09B591872D1D611AF2B0010B5A1AAD05D46E8@WCSMAIL> |
Thanx Christian. -----Original Message----- From: Christian Cryder [mailto:[email protected]] Sent: 09 May 2003 06:24 To: [email protected] Subject: RE: [Barracuda] Barracuda initializeLocal Question.... Hi Kirk, Just so you know, I've been meaning to answer this, but I still haven't got to it yet...BUT I will!!! Just got to finish a few things by eod tomorrow, so...expect to hear more from me on this either Fri or Sat... Christian ---------------------------------------------- Christian Cryder [[email protected]] Internet Architect, ATMReports.com Barracuda - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Kirk Daries > Sent: Thursday, May 08, 2003 12:10 PM > To: [email protected] > Subject: RE: [Barracuda] Barracuda initializeLocal Question.... > > > Hi, > > Just a repost... ;) > > Has anyone got any answers or ideas to this? > > Regards > KD > > -----Original Message----- > From: Kirk Daries [mailto:[email protected]] > Sent: 02 May 2003 05:45 > To: [email protected] > Subject: [Barracuda] Barracuda initializeLocal Question.... > > > Hi Guys, > > Quick question. > Is there a mechanism to fire 'events' during my initializeLocal method > withing my ApplicationGateway... > > I'm not sure if there is a mechanism already.. or a better way... > > Here's what I'd like to do. > > E.g. > > public void initializeLocal() { > super.initializeLocal(); > > //Startup configuration... > . > . > . > //Done Setting up the Servlet > > //Now I'd like to notify all interested event listeners > //that the servlet has done starting up. > > //If so.. then go and do their own mini initializations.. > // database stuff and what not.. > > //Pseudo Code Follows here... > Have 2 Events and Listeners...specified in my ApplicationAssembler XML > > ServeletStartupComplete.Event > and After_StartupComplete.Event which extends > ServeletStartupComplete.Event > > Get the EventQueue... > Add After_StartupComplete.Event to the queue > Let Barracuda process the queue and all interested listeners > //End Pseudo Code > > The idea is that I'd like all interested listeners to > listen for ServeletStartupComplete.Event. > > This way.. when I add the After_StartupComplete.Event..the queue should > process all the > waiting listeners.. > > Regards > KD > > _______________________________________________ > Barracuda mailing list > [email protected] > http://barracudamvc.org/lists/listinfo/barracuda > _______________________________________________ > Barracuda mailing list > [email protected] > http://barracudamvc.org/lists/listinfo/barracuda _______________________________________________ Barracuda mailing list [email protected] http://barracudamvc.org/lists/listinfo/barracuda