Even in James it only uses Initializable interface,
right? So is there any guide how and when to use those
lifecycle interfaces?

Thanks.
Dennis.


--- Kang Desheng <[EMAIL PROTECTED]> wrote:
> I am a newbie to Avalon and just read bunch of
> source
> code of Avalon. I am really confused by the
> lifecycle
> interfaces. I don't know how to distinguish
> Startable
> and Initializable/Disposable. I did some research
> about the existing code of Avalon projects such as
> Phoenix, cocoon, excalibur, tweety and found that
> the
> stop method of Startable interface is seldom used,
> even ContainerUtil.shutdown method binds stop and
> dispose together.
> 
> Could anybody tell me when to use Startable
> interface?
> If the application just has one main thread, do we
> still need to use Startable? 
> 
> Thanks.
> Dennis.
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to