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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to