cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: 'dispose' method of component
Date Wed, 29 Oct 2003 13:40:58 GMT
Hi Jeremy

Jeremy Quinn wrote:

<snipped>

> public class HibernateFactory
>   extends AbstractLogEnabled
>   implements PersistanceFactory, Configurable, Serviceable,  
> Initializable, Disposable, ThreadSafe

IIRC ThreadSafe components are disposed only when the ComponentManager 
is disposed (read shutdown of jetty). The counterpart interface of 
Disposable is Initializable which is called once during the life time of 
the component as with the Disposable.

-- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com



Mime
View raw message