avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [RT] Is Poolable Harmful?
Date Tue, 08 Jan 2002 09:47:55 GMT
On Tue, 8 Jan 2002 15:52, Paulo Gaspar wrote:
> Precisely, although I often (ab)use an abstract class that puts
> together 3 of them (Initializable, Disposable and Startable) just to
> ease implementing some LifeCycle validation:
>   - Checking if the component is active;
>   - Making sure it is not started before being intialized;
>   - etc.
>
> Of course that I end up with some empty methods, but most of those
> components have no performance issues.

Thats a similar pattern to what i mostly use aswell ;)

-- 
Cheers,

Pete

*------------------------------------------------------*
| Despite your efforts to be a romantic hero, you will |
| gradually evolve into a postmodern plot device.      |
*------------------------------------------------------*

--
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