----- Original Message ----- From: Daniel Rall <[EMAIL PROTECTED]> To: Turbine Users List <[EMAIL PROTECTED]> Cc: Kelvin Tan <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 8:56 AM Subject: Re: [Fulcrum] Services hashtable
> Daniel Rall <[EMAIL PROTECTED]> writes: > > > Though I don't know the original reasoning, I would assume the two > > hash lookups before using Class.forName() are there to avoid a race > > condition where another instance of BaseServiceBroker (BSB) had its > > getServiceInstance() method called with the same parameter and manages > > to sneak in and create the service instance in between our two > > lookups. > > Excuse me, I didn't mean another instace of, but rather another > reference to the same BaseServiceBroker instance. hhmmmm...ok I'll go ahead without the second hash lookup, and will report if any problems encountered. Kelvin > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
