avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@apache.org>
Subject Re: Component Initialization (was RE: Fortres: async/sync init)
Date Mon, 22 Jul 2002 19:37:21 GMT
On Monday 22 July 2002 03:35 pm, Berin Loritsch wrote:
> Granted.  However, there is also no guarantee that the original thread
> will still exist when you are on a 24 hour basis.  Besides, the level
> of resources we are talking about at this level is very minimal.
>
> In fact, you could probably get away with making this particular
> component
> a "singleton" or Threadsafe.  How many threads are going to be accessing
> it simultaneously?

Only one :) Only a single thread (should) be active in the container at a time 
(unless something has gone horribly wrong and the program is running for 24hrs 
straight :)

If I *really* need the straight-up factory, I'll just branch it 
pre-gobs-o-warnings :)
-pete

-- 
peter royal -> proyal@apache.org

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message